lib.rs
Rust test marker or harness
SHA-2567b8004615ee5b0ed68dd1c466ff52a0430dfbeafe4094b4ba4aaa42f18120291
MaleculeMd(Pa)
Evidence
1/*!
2The ignore crate provides a fast recursive directory iterator that respects
3various filters such as globs, file types and `.gitignore` files. The precise
4matching rules and precedence is explained in the documentation for
5`WalkBuilder`.
6
7Secondarily, this crate exposes gitignore and file type matchers for use cases
8that demand more fine-grained cont …
34:12… . This can be disabled by building the iterator with `WalkBuilder`:
35
36```rust,no_run
37use ignore::WalkBuilder;
38
39for result in WalkBuilder::new("./").h …
55:2… xtern crate memchr;
56extern crate regex;
57extern crate same_file;
58#[cfg(test)]
59extern crate tempfile;
60extern crate thread_local;
61extern crate walkdir;
62#[cfg(windows)]
63extern crate winapi_util;
64
65use std::error;
66use std::fmt;
67use std::io;
68use std::path::{Path, PathBuf};
69
70pub use walk::{DirEntry, Walk, WalkBuilder, WalkParallel, WalkState};
71
72mod dir;
⋯7 lines
176:42… some operations failed while others
177 /// may have succeeded. For example, an ignore file may contain an invalid
178 /// glob among otherwise vali …