pub struct Options {
pub large_file_threshold_bytes: u64,
pub fs: Capabilities,
}
Available on crate feature
blob
only.Expand description
Options for use in a Pipeline
.
Fields§
§large_file_threshold_bytes: u64
The amount of bytes that an object has to reach before being treated as binary.
These objects will not be queried, nor will their data be processed in any way.
If 0
, no file is ever considered binary due to their size.
Note that for files stored in git
, what counts is their stored, decompressed size,
thus git-lfs
files would typically not be considered binary unless one explicitly sets
them
fs: Capabilities
Capabilities of the file system which affect how we read worktree files.
Trait Implementations§
source§impl Ord for Options
impl Ord for Options
source§impl PartialEq for Options
impl PartialEq for Options
source§impl PartialOrd for Options
impl PartialOrd for Options
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Options
impl Eq for Options
impl StructuralEq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more