Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
test_symlink_normal_win32
Method · 0.95
test_symlink_buildtree_win32
Method · 0.95
Calls
1
casefold
Method · 0.80
Tested by
no test coverage detected