pub struct HomePaths {
pub home: PathBuf,
pub registry_dir: PathBuf,
pub plugins_dir: PathBuf,
pub cache_dir: PathBuf,
pub runtime_dir: PathBuf,
pub shims_dir: PathBuf,
pub sessions_dir: PathBuf,
pub global_dir: PathBuf,
}Expand description
Common filesystem paths used by vs.
Fields§
§home: PathBufRoot home directory.
registry_dir: PathBufRegistry state directory.
plugins_dir: PathBufInstalled plugin metadata directory.
cache_dir: PathBufHome-local cache directory used for command metadata.
runtime_dir: PathBufInstalled runtime directory.
shims_dir: PathBufGlobal shim directory.
sessions_dir: PathBufSession state directory.
global_dir: PathBufGlobal scope state directory.
Trait Implementations§
impl Eq for HomePaths
impl StructuralPartialEq for HomePaths
Auto Trait Implementations§
impl Freeze for HomePaths
impl RefUnwindSafe for HomePaths
impl Send for HomePaths
impl Sync for HomePaths
impl Unpin for HomePaths
impl UnsafeUnpin for HomePaths
impl UnwindSafe for HomePaths
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