MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _iter_number

Function _iter_number

openkb/skill/workspace.py:41–43  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

39
40
41def _iter_number(path: Path) -> int | None:
42 m = _ITER_RE.match(path.name)
43 return int(m.group(1)) if m else None
44
45
46def list_iterations(kb_dir: Path, skill_name: str) -> list[Path]:

Callers 3

list_iterationsFunction · 0.85
save_iterationFunction · 0.85
restore_iterationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected