MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _in_seen

Function _in_seen

graphify/cli.py:758–764  ·  view source on GitHub ↗
(p: Path)

Source from the content-addressed store, hash-verified

756 seen_basenames = {nfc(os.path.basename(s)) for s in seen_files}
757
758 def _in_seen(p: Path) -> bool:
759 if nfc(str(p)) in seen_nfc:
760 return True
761 try:
762 return nfc(str(p.resolve())) in seen_nfc
763 except (OSError, RuntimeError):
764 return False
765
766 # Provable-exclusion evidence from the scan that produced seen_files:
767 # individually ignored files are exact entries; ignored/noise-pruned

Callers 1

_stale_graph_sourcesFunction · 0.85

Calls 2

nfcFunction · 0.90
resolveMethod · 0.45

Tested by

no test coverage detected