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

Method normalize

graphify/watch.py:1166–1168  ·  view source on GitHub ↗
(self, source_file: str | None)

Source from the content-addressed store, hash-verified

1164 return checked == 0
1165
1166 def normalize(self, source_file: str | None) -> str | None:
1167 normalized = self._normalize_source(source_file, str(self.project_root))
1168 return posixpath.normpath(normalized) if normalized else normalized
1169
1170 def absolute_identity(self, source_file: str | None, root: Path) -> str | None:
1171 # An incremental update asks this for every stored node and edge while

Callers 15

_rebased_uncachedMethod · 0.95
_norm_labelFunction · 0.80
normalize_idFunction · 0.80
_normFunction · 0.80
_keep_edgeFunction · 0.80
_normalize_labelFunction · 0.80
_strip_diacriticsFunction · 0.80
convert_office_fileFunction · 0.80
_nfcFunction · 0.80
_sidecar_pathFunction · 0.80

Calls

no outgoing calls