Skip to content

Commit

Permalink
fixup! manifest: add helper to search for artifact images
Browse files Browse the repository at this point in the history
  • Loading branch information
ejoerns committed Aug 25, 2024
1 parent 9fab809 commit 79d8a68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions include/manifest.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,14 @@ G_GNUC_WARN_UNUSED_RESULT;
* Checks if the manifest has an artifact image:
* - for any repository
* - for a specific repository
* - for a specific name in a specific repository
* - for a specific artifact name in a specific repository
*
* @param manifest pointer to the manifest
* @param repo name of the repository
* @param artifact name of the artifact in the repository
* @param repo name of the repository, or NULL.
* Must be set if aritfact is set.
* @param artifact name of the artifact in the repository, or NULL
*
* @return TRUE on success, FALSE if an error occurred
* @return TRUE if image was found, FALSE otherwise
*/
gboolean r_manifest_has_artifact_image(const RaucManifest *manifest, const gchar *repo, const gchar *artifact)
G_GNUC_WARN_UNUSED_RESULT;
Expand Down

0 comments on commit 79d8a68

Please sign in to comment.