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

Function test_remove_with_keep

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

Source from the content-addressed store, hash-verified

565
566 #[test]
567 fn test_remove_with_keep() {
568 let cmd = Remove::new(vec!["file.txt".to_string()]).with_keep(true);
569 assert!(cmd.keep);
570 }
571
572 #[test]
573 fn test_remove_with_recursive() {

Callers

nothing calls this directly

Calls 1

with_keepMethod · 0.45

Tested by

no test coverage detected