Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ is_dir
Method
is_dir
Lib/importlib/resources/_adapters.py:97–98 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
95
return
self._reader.is_resource(self.name)
96
97
def
is_dir(self):
98
return
not self.is_file()
99
100
def
joinpath(self, other):
101
return
CompatibilityFiles.OrphanPath(self.name, other)
Callers
nothing calls this directly
Calls
1
is_file
Method · 0.95
Tested by
no test coverage detected