pub struct Options {
pub large_file_threshold_bytes: u64,
}
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.
However, if they are to be retrieved from the worktree, the worktree size is what matters,
even though that also might be a git-lfs
file which is small in Git.
Trait Implementations§
source§impl Ord for Options
impl Ord for Options
source§impl PartialOrd for Options
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)