MCPcopy Create free account
hub / github.com/Michael-F-Bryan/include_dir / contains

Method contains

include_dir/src/dir.rs:69–71  ·  view source on GitHub ↗

Does this directory contain `path`?

(&self, path: S)

Source from the content-addressed store, hash-verified

67
68 /// Does this directory contain `path`?
69 pub fn contains<S: AsRef<Path>>(&self, path: S) -> bool {
70 self.get_entry(path).is_some()
71 }
72
73 /// Create directories and extract all files to real filesystem.
74 /// Creates parent directories of `path` if they do not already exist.

Callers

nothing calls this directly

Calls 1

get_entryMethod · 0.80

Tested by

no test coverage detected