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

Method do_mirror

postscript.py:212–215  ·  view source on GitHub ↗

Mirror remote file system to local directory: mirror

(self, arg)

Source from the content-addressed store, hash-verified

210
211 # ------------------------[ mirror <path> ]---------------------------
212 def do_mirror(self, arg):
213 "Mirror remote file system to local directory: mirror <remote path>"
214 for name in self.dirlist(arg):
215 self.mirror(name, True)
216
217 # ====================================================================
218

Callers

nothing calls this directly

Calls 2

dirlistMethod · 0.95
mirrorMethod · 0.80

Tested by

no test coverage detected