pub struct Glob { /* private fields */ }
Expand description
Glob represents a single glob in a gitignore file.
This is used to report information about the highest precedent glob that
matched in one or more gitignore files.
Returns the file path that defined this glob.
The original glob as it was defined in a gitignore file.
The actual glob that was compiled to respect gitignore
semantics.
Whether this was a whitelisted glob or not.
Whether this glob must match a directory or not.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.