Struct gix_status::index_as_worktree::Options
source · pub struct Options {
pub fs: Capabilities,
pub thread_limit: Option<usize>,
pub stat: Options,
}
Expand description
Options that control how the index status with a worktree is computed.
Fields§
§fs: Capabilities
Capabilities of the file system which affect the status computation.
thread_limit: Option<usize>
If set, don’t use more than this amount of threads. Otherwise, usually use as many threads as there are logical cores. A value of 0 is interpreted as no-limit
stat: Options
Options that control how stat comparisons are made when checking if a file is fresh.
Trait Implementations§
source§impl PartialEq for Options
impl PartialEq for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more