MCPcopy Create free account
hub / github.com/emwalker/digraph / no_leaks

Function no_leaks

backend/tests/git/repo.rs:13–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12 #[test]
13 fn no_leaks() {
14 let f = Fixtures::copy("simple");
15 let other = f.git.root.path.join(OTHER_REPOSITORY_ID);
16 fs::create_dir_all(&other).expect("unable create other repo");
17
18 assert!(f.no_leaks().unwrap());
19
20 let filename = other.join("file.txt");
21 fs::write(filename, WIKI_REPOSITORY_ID).expect("unable to write file");
22
23 assert!(!f.no_leaks().unwrap());
24 }
25}
26
27mod delete_account {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected