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:1143–1144 ·
view source on GitHub ↗
(self, path, target)
Source
from the content-addressed store, hash-verified
1141
self._xfiles.add(path)
1142
1143
def
add_known_link(self, path, target):
1144
self._links[path] = target
1145
1146
def
add_known_dir(self, path):
1147
p = path.rstrip(
"/"
)
Callers
7
test_venv_posix_without_home_key
Method · 0.95
test_venv_changed_name_posix
Method · 0.95
test_venv_non_installed_zip_path_posix
Method · 0.95
test_symlink_normal_posix
Method · 0.95
test_symlink_buildpath_posix
Method · 0.95
test_symlink_normal_macos
Method · 0.95
test_symlink_buildpath_macos
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected