Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ is_file
Method
is_file
tools/python-3.11.9-amd64/Lib/zipfile.py:2484–2485 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2482
return
not self.at or self.at.endswith(
"/"
)
2483
2484
def
is_file(self):
2485
return
self.exists() and not self.is_dir()
2486
2487
def
exists(self):
2488
return
self.at in self.root._name_set()
Callers
nothing calls this directly
Calls
2
exists
Method · 0.95
is_dir
Method · 0.95
Tested by
no test coverage detected