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

Function test_get_inode

atomic-core/src/output/memory.rs:803–809  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

801
802 #[test]
803 fn test_get_inode() {
804 let wc = Memory::new();
805 wc.add_file("test.txt", b"");
806
807 let inode = wc.get_inode("test.txt");
808 assert!(inode.is_some());
809 }
810
811 #[test]
812 fn test_get_inode_not_found() {

Callers

nothing calls this directly

Calls 2

add_fileMethod · 0.45
get_inodeMethod · 0.45

Tested by

no test coverage detected