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

Function global_ignore_path

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

Get the path to the global ignore file.

()

Source from the content-addressed store, hash-verified

438
439/// Get the path to the global ignore file.
440pub fn global_ignore_path() -> Option<std::path::PathBuf> {
441 atomic_config::global_config_dir().map(|p| p.join("ignore"))
442}
443
444/// Get the path to the local ignore file for a repository.
445pub 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