Aktualizr
C++ SOTA Client
|
Go to the source code of this file.
Enumerations | |
enum | RunMode { RunMode::kDefault = 0, RunMode::kDryRun, RunMode::kWalkTree, RunMode::kPushTree } |
Execution mode to run garage tools in. More... | |
enum | OstreeObjectType { OSTREE_OBJECT_TYPE_UNKNOWN = 0, OSTREE_OBJECT_TYPE_FILE = 1, OSTREE_OBJECT_TYPE_DIR_TREE = 2, OSTREE_OBJECT_TYPE_DIR_META = 3, OSTREE_OBJECT_TYPE_COMMIT = 4, OSTREE_OBJECT_TYPE_TOMBSTONE_COMMIT = 5, OSTREE_OBJECT_TYPE_COMMIT_META = 6, OSTREE_OBJECT_TYPE_PAYLOAD_LINK = 7 } |
Types of OSTree objects, borrowed from libostree/ostree-core.h. More... | |
|
strong |
Types of OSTree objects, borrowed from libostree/ostree-core.h.
Copied here to avoid a dependency. We do not currently handle types 5-7, and UNKNOWN is our own invention for pseudo-backwards compatibility.
OSTREE_OBJECT_TYPE_FILE: Content; regular file, symbolic link OSTREE_OBJECT_TYPE_DIR_TREE: List of children (trees or files), and metadata OSTREE_OBJECT_TYPE_DIR_META: Directory metadata OSTREE_OBJECT_TYPE_COMMIT: Toplevel object, refers to tree and dirmeta for root OSTREE_OBJECT_TYPE_TOMBSTONE_COMMIT: Toplevel object, refers to a deleted commit OSTREE_OBJECT_TYPE_COMMIT_META: Detached metadata for a commit OSTREE_OBJECT_TYPE_PAYLOAD_LINK: Symlink to a .file given its checksum on the payload only.
Enumeration for core object types; OSTREE_OBJECT_TYPE_FILE is for content, the other types are metadata.
Definition at line 34 of file garage_common.h.
|
strong |
Execution mode to run garage tools in.
Definition at line 6 of file garage_common.h.