pub struct FileAction {
pub source: PathBuf,
pub target_rel_path: PathBuf,
pub kind: EntryKind,
}Expand description
Describes what to do with a single file during deployment.
Fields§
§source: PathBufThe source file in the dotfiles repo
target_rel_path: PathBufThe relative path where this file should be deployed (relative to target dir)
kind: EntryKindWhat kind of entry this is (base, override, or template)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileAction
impl RefUnwindSafe for FileAction
impl Send for FileAction
impl Sync for FileAction
impl Unpin for FileAction
impl UnsafeUnpin for FileAction
impl UnwindSafe for FileAction
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