Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ add_known_xfile
Method
add_known_xfile
Lib/test/test_getpath.py:963–964 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
961
self.add_known_dir(path.rpartition(
"\\"
)[0])
962
963
def
add_known_xfile(self, path):
964
self.add_known_file(path)
965
966
def
add_known_link(self, path, target):
967
self._links[path.casefold()] = target
Callers
8
test_normal_win32
Method · 0.95
test_buildtree_win32
Method · 0.95
test_venv_win32
Method · 0.95
test_registry_win32
Method · 0.95
test_symlink_normal_win32
Method · 0.95
test_symlink_buildtree_win32
Method · 0.95
test_buildtree_pythonhome_win32
Method · 0.95
test_no_dlls_win32
Method · 0.95
Calls
1
add_known_file
Method · 0.95
Tested by
no test coverage detected