pub struct RepoPaths {
pub root: Utf8PathBuf,
pub void_dir: Utf8PathBuf,
pub workspace_dir: Utf8PathBuf,
}Expand description
Filesystem paths for the repository.
Fields§
§root: Utf8PathBufWorking-tree root (parent of .void).
void_dir: Utf8PathBufAbsolute path to the .void directory.
workspace_dir: Utf8PathBufPer-workspace state dir. Equals void_dir for the main workspace;
.void/worktrees/{name}/ for linked worktrees.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoPaths
impl RefUnwindSafe for RepoPaths
impl Send for RepoPaths
impl Sync for RepoPaths
impl Unpin for RepoPaths
impl UnsafeUnpin for RepoPaths
impl UnwindSafe for RepoPaths
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more