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

Function test_set_permissions_not_found

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

Source from the content-addressed store, hash-verified

1037
1038 #[test]
1039 fn test_set_permissions_not_found() {
1040 let wc = Memory::new();
1041 let result = wc.set_permissions("nonexistent", 0o755);
1042 assert!(matches!(result, Err(MemoryError::NotFound { .. })));
1043 }
1044
1045 #[test]
1046 fn test_write_file() {

Callers

nothing calls this directly

Calls 1

set_permissionsMethod · 0.45

Tested by

no test coverage detected