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

Function test_remove_with_keep

atomic-cli/src/commands/remove.rs:363–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361
362 #[test]
363 fn test_remove_with_keep() {
364 let cmd = Remove::new(vec!["file.txt".to_string()]).with_keep(true);
365 assert!(cmd.keep);
366 }
367
368 #[test]
369 fn test_remove_with_recursive() {

Callers

nothing calls this directly

Calls 1

with_keepMethod · 0.45

Tested by

no test coverage detected