MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / global_ignore_path

Function global_ignore_path

atomic-repository/src/ignore.rs:369–371  ·  view source on GitHub ↗

Get the path to the global ignore file.

()

Source from the content-addressed store, hash-verified

367
368/// Get the path to the global ignore file.
369pub fn global_ignore_path() -> Option<std::path::PathBuf> {
370 atomic_config::global_config_dir().map(|p| p.join("ignore"))
371}
372
373/// Get the path to the local ignore file for a repository.
374pub fn local_ignore_path(repo_root: &Path) -> std::path::PathBuf {

Callers 1

test_global_ignore_pathFunction · 0.85

Calls 1

global_config_dirFunction · 0.85

Tested by 1

test_global_ignore_pathFunction · 0.68