pub struct KelpDotConfig {
pub homefiles: Option<Vec<FileInfo>>,
pub rootfiles: Option<Vec<FileInfo>>,
pub postsave: Option<Vec<Script>>,
pub prerun: Option<Vec<Script>>,
pub postrun: Option<Vec<Script>>,
pub packages: Option<Packages>,
}
Expand description
This is the new Configuration struct
Fields§
§homefiles: Option<Vec<FileInfo>>
Files stored in $HOME/*
rootfiles: Option<Vec<FileInfo>>
Files relative to /
postsave: Option<Vec<Script>>
Scripts to run AFTER saving the dotfiles
prerun: Option<Vec<Script>>
Scripts to run BEFORE installing the dotfiles. Path relative to $DOTFILES_ROOT
postrun: Option<Vec<Script>>
Scripts to run After installing the dotfiles Path relative to $DOTFILES_ROOT
packages: Option<Packages>
Packages to install
Trait Implementations§
Source§impl Debug for KelpDotConfig
impl Debug for KelpDotConfig
Source§impl<'de> Deserialize<'de> for KelpDotConfig
impl<'de> Deserialize<'de> for KelpDotConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KelpDotConfig
impl PartialEq for KelpDotConfig
Source§impl Serialize for KelpDotConfig
impl Serialize for KelpDotConfig
impl StructuralPartialEq for KelpDotConfig
Auto Trait Implementations§
impl Freeze for KelpDotConfig
impl RefUnwindSafe for KelpDotConfig
impl Send for KelpDotConfig
impl Sync for KelpDotConfig
impl Unpin for KelpDotConfig
impl UnwindSafe for KelpDotConfig
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