MCPcopy Create free account
hub / github.com/apache/cloudstack / remove_backup

Function remove_backup

python/lib/cloud_utils.py:369–370  ·  view source on GitHub ↗
(targetdir)

Source from the content-addressed store, hash-verified

367 rsynccall = ["rsync","-ax","--delete"] + [targetdir,"/etc/"]
368 check_call( rsynccall )
369def remove_backup(targetdir):
370 check_call( ["rm","-rf",targetdir] )
371
372def list_zonespods(host):
373 text = urllib.request.urlopen('http://%s:8096/client/api?command=listPods'%host).read(-1)

Callers

nothing calls this directly

Calls 1

check_callFunction · 0.70

Tested by

no test coverage detected