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

Method exists

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

Source from the content-addressed store, hash-verified

243
244 # Test For Existance
245 def exists(self, block, name):
246 return self.find(block, name) != 0
247
248 # Check If File
249 def is_file(self, block):

Callers 15

make_fileMethod · 0.95
recipe-577085.jsFile · 0.45
find_replaceFunction · 0.45
recipe-577793.pyFile · 0.45
check_pathFunction · 0.45
saveMethod · 0.45
recipe-576960.pyFile · 0.45
wholepathFunction · 0.45
__init__Method · 0.45
recipe-577214.pyFile · 0.45
parseArgsFunction · 0.45
loadSavFileMethod · 0.45

Calls 1

findMethod · 0.95

Tested by 3

test_and_add_pathMethod · 0.36
test_fileFunction · 0.36