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

Method is_file

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

Source from the content-addressed store, hash-verified

247
248 # Check If File
249 def is_file(self, block):
250 assert type(block) is int and 1 <= block <= self.__blocks
251 return self.status(block) == self.STATUS.file
252
253 # Check If Directory
254 def is_directory(self, block):

Callers 7

remove_fileMethod · 0.95
read_fileMethod · 0.95
write_fileMethod · 0.95
removeMethod · 0.45
isfileMethod · 0.45
__init__Method · 0.45
copy_fileFunction · 0.45

Calls 1

statusMethod · 0.95

Tested by

no test coverage detected