Weave documentation
Rust referenceweave-loom

weave-loom · ignore

Source declarations, signatures and documentation for ignore.

Source: sigil/weave/tools/loom/src/ignore.rs. SHA-256: a0e5d466b1bf27593d445575debbd87372d699d7bc912da0536fbc80ecaed213.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

ignore::IgnoreMatcher

Compiled ignore matcher.

pub struct IgnoreMatcher {

}

Source line: 10.

ignore::IgnoreMatcher::for_workdir

Build a matcher from the workdir root, reading .loomignore if present.

pub fn for_workdir(workdir: &Path) -> Result<Self>;

Source line: 17.

ignore::IgnoreMatcher::is_ignored

True if repo_relative_path should be ignored. The path is forward- slash normalized and has no leading ./.

pub fn is_ignored(&self, repo_relative_path: &str) -> bool;

Source line: 71.

On this page