MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / is_dir

Method is_dir

tools/python-3.11.9-amd64/Lib/zipfile.py:2481–2482  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2479 return self.__class__(self.root, at)
2480
2481 def is_dir(self):
2482 return not self.at or self.at.endswith("/")
2483
2484 def is_file(self):
2485 return self.exists() and not self.is_dir()

Callers 5

openMethod · 0.95
is_fileMethod · 0.95
iterdirMethod · 0.95
_extract_memberMethod · 0.45
writeMethod · 0.45

Calls 1

endswithMethod · 0.80

Tested by

no test coverage detected