sokf-core 0.6.0

sokf-core holds the logic of the sokf command-line tool: it loads and validates Superdev Open Knowledge Format (SOKF) knowledge stores, and runs each sokf command.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The `config` module finds the repository root, loads `/.sokf/config.toml`,
//! the drop-in folders `/.sokf/roots.d/` and `/.sokf/formats.d/`, and
//! `/.sokf/formats.yaml`, and resolves the `PATHS` scope of a command.

mod d_folder;
mod file;
mod formats;
mod formats_d;
mod root;
mod roots_d;

pub use file::{
    Config, ConfigText, FormatConfig, MarkerCheck, config_path, load_config, read_lenient,
};
pub use formats::{FORMATS_DIR, RepoFormats, load_repo_formats};
pub use root::{PathArg, Scope, discover_root, resolve_paths};
pub use roots_d::registry_files_lenient;