[][src]Struct ostree::RepoCheckoutAtOptions

pub struct RepoCheckoutAtOptions {
    pub mode: RepoCheckoutMode,
    pub overwrite_mode: RepoCheckoutOverwriteMode,
    pub enable_uncompressed_cache: bool,
    pub enable_fsync: bool,
    pub process_whiteouts: bool,
    pub no_copy_fallback: bool,
    pub force_copy: bool,
    pub bareuseronly_dirs: bool,
    pub force_copy_zerosized: bool,
    pub subpath: Option<PathBuf>,
    pub devino_to_csum_cache: Option<RepoDevInoCache>,
    pub filter: Option<RepoCheckoutFilter>,
    pub sepolicy: Option<SePolicy>,
    pub sepolicy_prefix: Option<String>,
}

Fields

mode: RepoCheckoutModeoverwrite_mode: RepoCheckoutOverwriteModeenable_uncompressed_cache: boolenable_fsync: boolprocess_whiteouts: boolno_copy_fallback: boolforce_copy: boolbareuseronly_dirs: boolforce_copy_zerosized: boolsubpath: Option<PathBuf>devino_to_csum_cache: Option<RepoDevInoCache>filter: Option<RepoCheckoutFilter>

A callback function to decide which files and directories will be checked out from the repo. See the documentation on RepoCheckoutFilter for more information on the signature.

Panics

This callback may not panic. If it does, abort() will be called to avoid unwinding across an FFI boundary and into the libostree C code (which is Undefined Behavior). If you prefer to swallow the panic rather than aborting, you can use std::panic::catch_unwind inside your callback to catch and silence any panics that occur.

sepolicy: Option<SePolicy>sepolicy_prefix: Option<String>

Trait Implementations

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.