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

Function test_working_file_new

atomic-core/src/record/workflow/collect.rs:660–667  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

658
659 #[test]
660 fn test_working_file_new() {
661 let file = WorkingFile::new("src/main.rs");
662
663 assert_eq!(file.path, "src/main.rs");
664 assert!(!file.is_directory);
665 assert!(file.size.is_none());
666 assert!(file.mtime.is_none());
667 }
668
669 #[test]
670 fn test_working_file_as_directory() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected