pub struct Config {
pub roots: Vec<RepoPath>,
pub registered_count: usize,
pub exclude: Vec<String>,
pub added_exclude: Vec<AddedExclude>,
pub declined: BTreeMap<String, Vec<String>>,
pub markers: MarkerCheck,
pub format: FormatConfig,
}Expand description
Config is the resolved configuration, with every root checked.
Fields§
§roots: Vec<RepoPath>The knowledge roots, each an existing directory: the own roots of
knowledge.roots, then the roots of /.sokf/roots.d/.
registered_count: usizeThe number of registered roots, those of /.sokf/roots.d/, at the
end of roots. The roots before them are the own roots of
knowledge.roots (CLI-6_AC-116).
exclude: Vec<String>The /-rooted globs of repository.exclude, pruned from the
repository walk.
added_exclude: Vec<AddedExclude>The /-rooted globs of the files of /.sokf/excludes.d/, each with
its file, pruned from the repository walk too.
declined: BTreeMap<String, Vec<String>>The declined parts of each harness, by harness name.
markers: MarkerCheckHow a run reports markers.
format: FormatConfigThe [format] table: the formatter or the command through which a
run compares the generated blocks of a format that same-same doesn’t
compare by meaning.
Implementations§
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.