| Top |
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 |
||
out_info |
the GFileInfo of the child. |
[out][transfer full][optional] |
cancellable |
a GCancellable or |
|
error |