[][src]Trait ostree::RepoFileExt

pub trait RepoFileExt: 'static {
    fn ensure_resolved(&self) -> Result<(), Error>;
fn get_checksum(&self) -> Option<GString>;
fn get_repo(&self) -> Option<Repo>;
fn get_root(&self) -> Option<RepoFile>;
fn get_xattrs<P: IsA<Cancellable>>(
        &self,
        cancellable: Option<&P>
    ) -> Result<Variant, Error>;
fn tree_find_child(&self, name: &str) -> (i32, bool, Variant);
fn tree_get_contents(&self) -> Option<Variant>;
fn tree_get_contents_checksum(&self) -> Option<GString>;
fn tree_get_metadata(&self) -> Option<Variant>;
fn tree_get_metadata_checksum(&self) -> Option<GString>;
fn tree_query_child<P: IsA<Cancellable>>(
        &self,
        n: i32,
        attributes: &str,
        flags: FileQueryInfoFlags,
        cancellable: Option<&P>
    ) -> Result<FileInfo, Error>;
fn tree_set_metadata(&self, checksum: &str, metadata: &Variant); }

Required methods

fn ensure_resolved(&self) -> Result<(), Error>

fn get_checksum(&self) -> Option<GString>

fn get_repo(&self) -> Option<Repo>

fn get_root(&self) -> Option<RepoFile>

fn get_xattrs<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<Variant, Error>

fn tree_find_child(&self, name: &str) -> (i32, bool, Variant)

fn tree_get_contents(&self) -> Option<Variant>

fn tree_get_contents_checksum(&self) -> Option<GString>

fn tree_get_metadata(&self) -> Option<Variant>

fn tree_get_metadata_checksum(&self) -> Option<GString>

fn tree_query_child<P: IsA<Cancellable>>(
    &self,
    n: i32,
    attributes: &str,
    flags: FileQueryInfoFlags,
    cancellable: Option<&P>
) -> Result<FileInfo, Error>

fn tree_set_metadata(&self, checksum: &str, metadata: &Variant)

Loading content...

Implementors

impl<O: IsA<RepoFile>> RepoFileExt for O[src]

Loading content...