Struct libkelp::lib::structs::config::KelpDotConfig [−][src]
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
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for KelpDotConfigimpl Send for KelpDotConfigimpl Sync for KelpDotConfigimpl Unpin for KelpDotConfigimpl UnwindSafe for KelpDotConfig