MCPcopy Create free account
hub / github.com/ActiveState/code / is_directory

Method is_directory

recipes/Python/492212_dal4py/recipe-492212.py:254–256  ·  view source on GitHub ↗
(self, block)

Source from the content-addressed store, hash-verified

252
253 # Check If Directory
254 def is_directory(self, block):
255 assert type(block) is int and 1 <= block <= self.__blocks
256 return self.status(block) == self.STATUS.directory
257
258 # Read Block Status
259 def status(self, block):

Callers 5

make_fileMethod · 0.95
chdirMethod · 0.45
listdirMethod · 0.45
rmdirMethod · 0.45
isdirMethod · 0.45

Calls 1

statusMethod · 0.95

Tested by

no test coverage detected