Top |
gboolean | ostree_repo_file_ensure_resolved () |
gboolean | ostree_repo_file_get_xattrs () |
OstreeRepo * | ostree_repo_file_get_repo () |
OstreeRepoFile * | ostree_repo_file_get_root () |
void | ostree_repo_file_tree_set_metadata () |
const char * | ostree_repo_file_tree_get_contents_checksum () |
const char * | ostree_repo_file_tree_get_metadata_checksum () |
GVariant * | ostree_repo_file_tree_get_contents () |
GVariant * | ostree_repo_file_tree_get_metadata () |
const char * | ostree_repo_file_get_checksum () |
int | ostree_repo_file_tree_find_child () |
gboolean | ostree_repo_file_tree_query_child () |
gboolean ostree_repo_file_ensure_resolved (OstreeRepoFile *self
,GError **error
);
Ensure that the backing metadata is loaded.
gboolean ostree_repo_file_get_xattrs (OstreeRepoFile *self
,GVariant **out_xattrs
,GCancellable *cancellable
,GError **error
);
void ostree_repo_file_tree_set_metadata (OstreeRepoFile *self
,const char *checksum
,GVariant *metadata
);
Replace the metadata checksum and metadata object.
const char *
ostree_repo_file_tree_get_contents_checksum
(OstreeRepoFile *self
);
const char *
ostree_repo_file_tree_get_metadata_checksum
(OstreeRepoFile *self
);
GVariant *
ostree_repo_file_tree_get_contents (OstreeRepoFile *self
);
This API will return NULL
if the file is not "resolved" i.e. in a loaded
state. It will also return NULL
if this path is not a directory tree.
GVariant *
ostree_repo_file_tree_get_metadata (OstreeRepoFile *self
);
This API will return NULL
if the file is not "resolved" i.e. in a loaded
state. It will also return NULL
if this path is not a directory tree.
int ostree_repo_file_tree_find_child (OstreeRepoFile *self
,const char *name
,gboolean *is_dir
,GVariant **out_container
);
gboolean ostree_repo_file_tree_query_child (OstreeRepoFile *self
,int n
,const char *attributes
,GFileQueryInfoFlags flags
,GFileInfo **out_info
,GCancellable *cancellable
,GError **error
);
self |
||
n |
the child number |
|
attributes |
an attribute string to match, see |
|
flags |
a GFileQueryInfoFlags |
|
out_info |
the GFileInfo of the child. |
[out][transfer full][optional] |
cancellable |
a GCancellable or |
|
error |
a GError or |