MCPcopy Create free account
hub / github.com/GCWing/BitFun / build_log_paths_uses_split_log_files

Function build_log_paths_uses_split_log_files

src/apps/cli/src/logging.rs:403–410  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

401
402 #[test]
403 fn build_log_paths_uses_split_log_files() {
404 let temp = tempfile::tempdir().expect("tempdir");
405 let paths = build_log_paths(temp.path());
406
407 assert_eq!(paths.app_log_path, temp.path().join("app.log"));
408 assert_eq!(paths.ai_log_path, temp.path().join("ai.log"));
409 assert_eq!(paths.flashgrep_log_path, temp.path().join("flashgrep.log"));
410 }
411
412 #[test]
413 fn create_rotating_writer_creates_expected_files() {

Callers

nothing calls this directly

Calls 2

build_log_pathsFunction · 0.85
pathMethod · 0.45

Tested by

no test coverage detected