MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / is_git_metadata

Function is_git_metadata

flow-quickstart/src/lib.rs:27–32  ·  view source on GitHub ↗
(entry: &DirEntry)

Source from the content-addressed store, hash-verified

25}
26
27pub fn is_git_metadata(entry: &DirEntry) -> bool {
28 entry
29 .path()
30 .components()
31 .any(|c| c == std::path::Component::Normal(".git".as_ref()))
32}
33
34pub fn substitute_file_by_placeholder(
35 dir: &str,

Callers 2

scan_all_placeholderFunction · 0.85

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected