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

Method do_touch

printer.py:506–511  ·  view source on GitHub ↗

Update file timestamps: touch

(self, arg)

Source from the content-addressed store, hash-verified

504
505 # ------------------------[ touch <file> ]----------------------------
506 def do_touch(self, arg):
507 "Update file timestamps: touch <file>"
508 if not arg:
509 arg = eval(input("Remote file: "))
510 rpath = self.rpath(arg)
511 self.append(rpath, "")
512
513 # ------------------------[ delete <file> ]---------------------------
514 def do_delete(self, arg):

Callers

nothing calls this directly

Calls 2

rpathMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected