Flags

Details

class OSTree.ChecksumFlags(value)

Bases: GLib.Flags

New in version 2017.13.

NONE = 0
IGNORE_XATTRS = 1
class OSTree.DiffFlags(value)

Bases: GLib.Flags

NONE = 0
IGNORE_XATTRS = 1
class OSTree.RepoCommitModifierFlags(value)

Bases: GLib.Flags

NONE = 0

No special flags

SKIP_XATTRS = 1

Do not process extended attributes

CONSUME = 16

Delete added files/directories after commit;

New in version 2017.13.

GENERATE_SIZES = 2

Generate size information.

DEVINO_CANONICAL = 32

If a devino cache hit is found, skip modifier filters (non-directories only);

New in version 2017.14.

CANONICAL_PERMISSIONS = 4

Canonicalize permissions for bare-user-only mode.

ERROR_ON_UNLABELED = 8

Emit an error if configured SELinux policy does not provide a label

class OSTree.RepoCommitState(value)

Bases: GLib.Flags

Flags representing the state of a commit in the local repository, as returned by OSTree.Repo.load_commit().

New in version 2015.7.

NORMAL = 0

Commit is complete. This is the default. (Since: 2017.14.)

PARTIAL = 1

One or more objects are missing from the local copy of the commit, but metadata is present. (Since: 2015.7.)

class OSTree.RepoCommitTraverseFlags(value)

Bases: GLib.Flags

REPO_COMMIT_TRAVERSE_FLAG_NONE = 1
class OSTree.RepoListObjectsFlags(value)

Bases: GLib.Flags

LOOSE = 1

List only loose (plain file) objects

PACKED = 2

List only packed (compacted into blobs) objects

ALL = 4

List all objects

NO_PARENTS = 8

Only list objects in this repo, not parents

class OSTree.RepoListRefsExtFlags(value)

Bases: GLib.Flags

NONE = 0

No flags.

ALIASES = 1

Only list aliases.

New in version 2017.10.

EXCLUDE_REMOTES = 2

Exclude remote refs.

New in version 2017.11.

class OSTree.RepoPullFlags(value)

Bases: GLib.Flags

NONE = 0

No special options for pull

MIRROR = 1

Write out refs suitable for mirrors and fetch all refs if none requested

TRUSTED_HTTP = 16

Don’t verify checksums of objects HTTP repositories (Since: 2017.12)

COMMIT_ONLY = 2

Fetch only the commit metadata

UNTRUSTED = 4

Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)

BAREUSERONLY_FILES = 8

Reject writes of content objects with modes outside of 0775.

New in version 2017.7.

class OSTree.SePolicyRestoreconFlags(value)

Bases: GLib.Flags

NONE = 0
ALLOW_NOLABEL = 1
KEEP_EXISTING = 2
class OSTree.SysrootSimpleWriteDeploymentFlags(value)

Bases: GLib.Flags

NONE = 0
RETAIN = 1
RETAIN_ROLLBACK = 16
NOT_DEFAULT = 2
NO_CLEAN = 4
RETAIN_PENDING = 8
class OSTree.SysrootUpgraderFlags(value)

Bases: GObject.GFlags

Flags controlling operation of an OSTree.SysrootUpgrader.

IGNORE_UNCONFIGURED = 2

Do not error if the origin has an unconfigured-state key

class OSTree.SysrootUpgraderPullFlags(value)

Bases: GLib.Flags

NONE = 0
ALLOW_OLDER = 1
SYNTHETIC = 2