MCPcopy Index your code
hub / github.com/fastmonkeys/stellar / remove

Function remove

stellar/command.py:134–145  ·  view source on GitHub ↗

Removes a snapshot

(name)

Source from the content-addressed store, hash-verified

132@stellar.command()
133@click.argument('name')
134def remove(name):
135 """Removes a snapshot"""
136 app = get_app()
137
138 snapshot = app.get_snapshot(name)
139 if not snapshot:
140 click.echo("Couldn't find snapshot %s" % name)
141 sys.exit(1)
142
143 click.echo("Deleting snapshot %s" % name)
144 app.remove_snapshot(snapshot)
145 click.echo("Deleted")
146
147
148@stellar.command()

Callers

nothing calls this directly

Calls 3

get_appFunction · 0.85
get_snapshotMethod · 0.80
remove_snapshotMethod · 0.80

Tested by

no test coverage detected