lib/repo: Add OSTREE_REPO_COMMIT_STATE_NORMAL to represent most commits

This allows more explicit handling of commit state in code using
libostree, rather than hard-coding a commit state of 0 for ‘normal’.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #1335
Approved by: cgwalters
This commit is contained in:
Philip Withnall 2017-11-08 15:10:31 +00:00 committed by Atomic Bot
parent 176a7b4778
commit 9c4870b5e1
1 changed files with 1 additions and 0 deletions

View File

@ -540,6 +540,7 @@ gboolean ostree_repo_load_variant_if_exists (OstreeRepo *self,
GError **error);
typedef enum {
OSTREE_REPO_COMMIT_STATE_NORMAL = 0,
OSTREE_REPO_COMMIT_STATE_PARTIAL = (1 << 0),
} OstreeRepoCommitState;