MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / mkdir

Method mkdir

Algorithmia/CLI.py:138–143  ·  view source on GitHub ↗
(self, path, client)

Source from the content-addressed store, hash-verified

136
137 # algo mkdir <path>
138 def mkdir(self, path, client):
139 # make a dir in data collection
140 newDir = client.dir(path)
141
142 if newDir.exists() is False:
143 newDir.create()
144
145 # algo rmdir <path>
146 def rmdir(self, path, client, force=False):

Callers 8

mainFunction · 0.80
getconfigfileMethod · 0.80
createMethod · 0.80
setUpMethod · 0.80
test_lsMethod · 0.80
test_mkdirMethod · 0.80
test_rmdirMethod · 0.80
setUpMethod · 0.80

Calls 3

dirMethod · 0.45
existsMethod · 0.45
createMethod · 0.45

Tested by 5

setUpMethod · 0.64
test_lsMethod · 0.64
test_mkdirMethod · 0.64
test_rmdirMethod · 0.64
setUpMethod · 0.64