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

Function test_file_ops_delete

atomic-core/src/change/ops.rs:839–845  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

837
838 #[test]
839 fn test_file_ops_delete() {
840 let ops = FileOps::delete(test_trunk_id(), "old.txt".to_string());
841
842 assert!(ops.is_delete());
843 assert!(!ops.is_create());
844 assert_eq!(ops.path(), "old.txt");
845 }
846
847 #[test]
848 fn test_file_ops_move() {

Callers

nothing calls this directly

Calls 1

test_trunk_idFunction · 0.70

Tested by

no test coverage detected