Return information on the current file. This function may only be called if %OSTREE_REPO_COMMIT_ITER_RESULT_FILE was returned from ostree_repo_commit_traverse_iter_next().
Initialize (in place) an iterator over the root of a commit object.
A repo
Variant of type %OSTREE_OBJECT_TYPE_COMMIT
Flags
Initialize (in place) an iterator over a directory tree.
A repo
Variant of type %OSTREE_OBJECT_TYPE_DIR_TREE
Flags
Step the interator to the next item. Files will be returned first, then subdirectories. Call this in a loop; upon encountering %OSTREE_REPO_COMMIT_ITER_RESULT_END, there will be no more files or directories. If %OSTREE_REPO_COMMIT_ITER_RESULT_DIR is returned, then call ostree_repo_commit_traverse_iter_get_dir() to retrieve data for that directory. Similarly, if %OSTREE_REPO_COMMIT_ITER_RESULT_FILE is returned, call ostree_repo_commit_traverse_iter_get_file().
If %OSTREE_REPO_COMMIT_ITER_RESULT_ERROR is returned, it is a
program error to call any further API on iter
except for
ostree_repo_commit_traverse_iter_clear().
Cancellable
Return information on the current directory. This function may only be called if %OSTREE_REPO_COMMIT_ITER_RESULT_DIR was returned from ostree_repo_commit_traverse_iter_next().