//! The vcs command-line tool. pub mod access; pub mod app; pub mod cmd; pub mod db; pub mod host; pub mod ids; pub mod objects; pub mod out; pub mod paths; pub mod remote; pub mod secrets; pub mod ws; /// Whether `path` is covered by a rule written for `rule` (a file or folder). pub fn path_matches(path: &str, rule: &str) -> bool { vcs_core::tree::under(path, rule.trim_matches('/')) }