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

Function test_file_writer_path

atomic-core/src/output/filesystem/tests.rs:358–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356
357#[test]
358fn test_file_writer_path() {
359 let (dir, fs) = temp_fs();
360 let writer = fs.write_file("test.txt", Inode::new(1)).unwrap();
361 assert_eq!(writer.path(), dir.path().join("test.txt"));
362}
363
364#[test]
365fn test_file_writer_finish() {

Callers

nothing calls this directly

Calls 3

temp_fsFunction · 0.85
unwrapMethod · 0.45
write_fileMethod · 0.45

Tested by

no test coverage detected