MCPcopy
hub / github.com/MinishLab/semble / non_existing

Method non_existing

src/semble/index/types.py:16–20  ·  view source on GitHub ↗

Return all resolved that do not exist.

(self)

Source from the content-addressed store, hash-verified

14 metadata: Path
15
16 def non_existing(self) -> list[Path]:
17 """Return all resolved that do not exist."""
18 return [
19 path for path in [self.chunks, self.bm25_index, self.semantic_index, self.metadata] if not path.exists()
20 ]
21
22 @classmethod
23 def from_path(cls: type[PersistencePath], path: Path) -> PersistencePath:

Callers 3

_run_clearFunction · 0.80
get_validated_cacheFunction · 0.80
load_from_diskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected