pub enum SearchConfig {
FromInvocationDirectory,
FromSearchDirectory {
search_directory: PathBuf,
},
GlobalJustfile,
WithJustfile {
justfile: PathBuf,
},
WithJustfileAndWorkingDirectory {
justfile: PathBuf,
working_directory: PathBuf,
},
}
Expand description
Controls how just
will search for the justfile.
Variantsยง
FromInvocationDirectory
Recursively search for the justfile upwards from the invocation directory to the root, setting the working directory to the directory in which the justfile is found.
FromSearchDirectory
As in Invocation
, but start from search_directory
.
GlobalJustfile
Search for global justfile
WithJustfile
Use user-specified justfile, with the working directory set to the directory that contains it.
WithJustfileAndWorkingDirectory
Use user-specified justfile and working directory.
Trait Implementationsยง
Sourceยงimpl Debug for SearchConfig
impl Debug for SearchConfig
Sourceยงimpl PartialEq for SearchConfig
impl PartialEq for SearchConfig
impl StructuralPartialEq for SearchConfig
Auto Trait Implementationsยง
impl Freeze for SearchConfig
impl RefUnwindSafe for SearchConfig
impl Send for SearchConfig
impl Sync for SearchConfig
impl Unpin for SearchConfig
impl UnwindSafe for SearchConfig
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