Struct ostree::RepoCommitModifier [−][src]
pub struct RepoCommitModifier(_);
Implementations
pub fn new(
flags: RepoCommitModifierFlags,
commit_filter: Option<Box_<dyn Fn(&Repo, &str, &FileInfo) -> RepoCommitFilterResult + 'static>>
) -> RepoCommitModifier
This is supported on crate feature
v2017_13
only.pub fn set_sepolicy_from_commit<P: IsA<Cancellable>>(
&self,
repo: &Repo,
rev: &str,
cancellable: Option<&P>
) -> Result<(), Error>
This is supported on crate feature
v2020_4
only.Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for RepoCommitModifier
impl !Send for RepoCommitModifier
impl !Sync for RepoCommitModifier
impl Unpin for RepoCommitModifier
impl UnwindSafe for RepoCommitModifier
Blanket Implementations
Mutably borrows from an owned value. Read more