pub struct KitPaths {
pub root: PathBuf,
pub plugins: PathBuf,
pub build: PathBuf,
pub lock_file: PathBuf,
pub index_file: PathBuf,
}Expand description
kit 用到的所有路径。
Fields§
§root: PathBuf<data-dir> 本身。
plugins: PathBuf已安装插件的目录,<root>/plugins。
build: PathBufbuild-host 脚手架目录,<root>/build。
lock_file: PathBuf安装排他锁文件,<root>/.lock。
index_file: PathBuf安装记录缓存,<root>/plugins/.plugins.json。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KitPaths
impl RefUnwindSafe for KitPaths
impl Send for KitPaths
impl Sync for KitPaths
impl Unpin for KitPaths
impl UnsafeUnpin for KitPaths
impl UnwindSafe for KitPaths
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