cached_files reports deep-namespace entries too.
(tmp_path)
| 1302 | |
| 1303 | |
| 1304 | def test_cached_files_includes_deep_namespace(tmp_path): |
| 1305 | """cached_files reports deep-namespace entries too.""" |
| 1306 | from graphify.cache import save_semantic_cache |
| 1307 | |
| 1308 | f = tmp_path / "doc.md" |
| 1309 | f.write_text("# Doc\n") |
| 1310 | save_semantic_cache([{"id": "d", "source_file": "doc.md"}], [], |
| 1311 | root=tmp_path, mode="deep") |
| 1312 | assert file_hash(f, tmp_path) in cached_files(tmp_path) |
| 1313 | |
| 1314 | |
| 1315 | def test_semantic_prune_sweeps_both_namespaces_against_same_live_set(tmp_path): |
nothing calls this directly
no test coverage detected