MCPcopy
hub / github.com/RUB-NDS/PRET / do_mkdir

Method do_mkdir

pjl.py:224–229  ·  view source on GitHub ↗

Create remote directory: mkdir

(self, arg)

Source from the content-addressed store, hash-verified

222
223 # ------------------------[ mkdir <path> ]----------------------------
224 def do_mkdir(self, arg):
225 "Create remote directory: mkdir <path>"
226 if not arg:
227 arg = eval(input("Directory: "))
228 path = self.rpath(arg)
229 self.cmd('@PJL FSMKDIR NAME="' + path + '"', False)
230
231 # ------------------------[ get <file> ]------------------------------
232 def get(self, path, size=None):

Callers

nothing calls this directly

Calls 2

cmdMethod · 0.95
rpathMethod · 0.80

Tested by

no test coverage detected