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:373–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371
372#[test]
373fn test_file_writer_inode() {
374 let (_dir, fs) = temp_fs();
375 let writer = fs.write_file("test.txt", Inode::new(42)).unwrap();
376 assert_eq!(writer.inode(), Inode::new(42));
377}
378
379#[test]
380fn 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