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

Function a_relative_log_dir_is_refused

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

Source from the content-addressed store, hash-verified

456
457 #[test]
458 fn a_relative_log_dir_is_refused() {
459 let error = open_file(Path::new("logs")).unwrap_err();
460 assert!(matches!(error, OpenError::Relative), "{error}");
461 }
462
463 #[cfg(unix)]
464 #[test]

Callers

nothing calls this directly

Calls 1

open_fileFunction · 0.85

Tested by

no test coverage detected