pub struct FileState {
pub(crate) path_rules: Vec<PathRuleState>,
pub(crate) files: BTreeMap<RepositoryPath, FileSpec>,
pub(crate) formatter: Option<FormatterSpec>,
}Expand description
File-management input projected from evaluated configuration.
Fields§
§path_rules: Vec<PathRuleState>Priority-resolved managed, source and ignore rules for repository paths.
files: BTreeMap<RepositoryPath, FileSpec>Declared files, keyed by repository-relative path.
formatter: Option<FormatterSpec>The default formatter for complete managed files.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileState
impl RefUnwindSafe for FileState
impl Send for FileState
impl Sync for FileState
impl Unpin for FileState
impl UnsafeUnpin for FileState
impl UnwindSafe for FileState
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