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

Function parses

atomic-cli/src/logging/mod.rs:205–210  ·  view source on GitHub ↗
(directives: &str)

Source from the content-addressed store, hash-verified

203}
204
205fn parses(directives: &str) -> bool {
206 directives
207 .split(',')
208 .any(|directive| !directive.trim().is_empty())
209 && EnvFilter::builder().parse(directives).is_ok()
210}
211
212/// The file's filter from `ATOMIC_LOG`, or `None` when it is `off`.
213fn file_directives(atomic_log: Option<String>) -> Option<String> {

Callers 1

terminal_directivesFunction · 0.85

Calls 2

is_emptyMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected