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

Function test_file_writer_inode

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

Source from the content-addressed store, hash-verified

349
350#[test]
351fn test_file_writer_inode() {
352 let (_dir, fs) = temp_fs();
353 let writer = fs.write_file("test.txt", Inode::new(42)).unwrap();
354 assert_eq!(writer.inode(), Inode::new(42));
355}
356
357#[test]
358fn test_file_writer_path() {

Callers

nothing calls this directly

Calls 3

temp_fsFunction · 0.85
unwrapMethod · 0.45
write_fileMethod · 0.45

Tested by

no test coverage detected