kiss-coding 0.0.40

Coding harness: sessions, tools, compaction, settings, skills
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod find;
pub mod grep;
pub mod ls;

/// Walk `root` the way the find and grep tools search: skip hidden files
/// and anything git would ignore, also outside a git repository.
fn search_walker(root: &std::path::Path) -> ignore::WalkBuilder {
    let mut walker = ignore::WalkBuilder::new(root);
    walker
        .hidden(true)
        .git_ignore(true)
        .git_global(true)
        .require_git(false);
    walker
}