MCPcopy Index your code
hub / github.com/python/cpython / add_known_link

Method add_known_link

Lib/test/test_getpath.py:966–967  ·  view source on GitHub ↗
(self, path, target)

Source from the content-addressed store, hash-verified

964 self.add_known_file(path)
965
966 def add_known_link(self, path, target):
967 self._links[path.casefold()] = target
968
969 def add_known_dir(self, path):
970 p = path.rstrip("\\").casefold()

Callers 2

Calls 1

casefoldMethod · 0.80

Tested by

no test coverage detected