| Top |
| const gchar * | as_size_kind_to_string () |
| AsSizeKind | as_size_kind_from_string () |
| AsArtifactKind | as_artifact_kind_from_string () |
| const gchar * | as_artifact_kind_to_string () |
| AsArtifact * | as_artifact_new () |
| AsArtifactKind | as_artifact_get_kind () |
| void | as_artifact_set_kind () |
| GPtrArray * | as_artifact_get_locations () |
| void | as_artifact_add_location () |
| GPtrArray * | as_artifact_get_checksums () |
| AsChecksum * | as_artifact_get_checksum () |
| void | as_artifact_add_checksum () |
| guint64 | as_artifact_get_size () |
| void | as_artifact_set_size () |
| const gchar * | as_artifact_get_platform () |
| void | as_artifact_set_platform () |
| AsBundleKind | as_artifact_get_bundle_kind () |
| void | as_artifact_set_bundle_kind () |
| #define | AS_TYPE_ARTIFACT |
| struct | AsArtifactClass |
| enum | AsSizeKind |
| enum | AsArtifactKind |
| AsArtifact |
const gchar *
as_size_kind_to_string (AsSizeKind size_kind);
Converts the enumerated value to an text representation.
AsSizeKind
as_size_kind_from_string (const gchar *size_kind);
Converts the text representation to an enumerated value.
AsArtifactKind
as_artifact_kind_from_string (const gchar *kind);
Converts the text representation to an enumerated value.
const gchar *
as_artifact_kind_to_string (AsArtifactKind kind);
Converts the enumerated value to an text representation.
AsArtifactKind
as_artifact_get_kind (AsArtifact *artifact);
Gets the artifact kind.
void as_artifact_set_kind (AsArtifact *artifact,AsArtifactKind kind);
Sets the artifact kind.
GPtrArray *
as_artifact_get_locations (AsArtifact *artifact);
Gets the artifact locations, typically URLs.
void as_artifact_add_location (AsArtifact *artifact,const gchar *location);
Adds a artifact location.
GPtrArray *
as_artifact_get_checksums (AsArtifact *artifact);
Get a list of all checksums we have for this artifact.
AsChecksum * as_artifact_get_checksum (AsArtifact *artifact,AsChecksumKind kind);
Gets the artifact checksum
void as_artifact_add_checksum (AsArtifact *artifact,AsChecksum *cs);
Add a checksum for the file associated with this artifact.
guint64 as_artifact_get_size (AsArtifact *artifact,AsSizeKind kind);
Gets the artifact size.
void as_artifact_set_size (AsArtifact *artifact,guint64 size,AsSizeKind kind);
Sets the artifact size for the given kind.
const gchar *
as_artifact_get_platform (AsArtifact *artifact);
Gets the artifact platform string (e.g. a triplet like "x86_64-linux-gnu").
void as_artifact_set_platform (AsArtifact *artifact,const gchar *platform);
Sets the artifact platform triplet or identifier string.
AsBundleKind
as_artifact_get_bundle_kind (AsArtifact *artifact);
Gets the bundle kind of this artifact.
void as_artifact_set_bundle_kind (AsArtifact *artifact,AsBundleKind kind);
Sets the bundle kind for this release artifact.