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

Function file_settings

atomic-cli/src/logging/mod.rs:248–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248fn file_settings() -> Option<(String, LogDir)> {
249 let directives = file_directives(std::env::var("ATOMIC_LOG").ok())?;
250 let dir = log_dir(
251 std::env::var_os("ATOMIC_LOG_DIR"),
252 atomic_config::global_config_dir(),
253 )?;
254 Some((directives, dir))
255}
256
257/// The command path clap matched, such as `git import`.
258fn command_path(matches: &clap::ArgMatches) -> String {

Callers 1

initFunction · 0.85

Calls 4

file_directivesFunction · 0.85
log_dirFunction · 0.85
global_config_dirFunction · 0.85
okMethod · 0.45

Tested by

no test coverage detected