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

Function gc

stellar/command.py:46–53  ·  view source on GitHub ↗

Deletes old stellar tables that are not used anymore

()

Source from the content-addressed store, hash-verified

44
45@stellar.command()
46def gc():
47 """Deletes old stellar tables that are not used anymore"""
48 def after_delete(database):
49 click.echo("Deleted table %s" % database)
50
51 app = get_app()
52 upgrade_from_old_version(app)
53 app.delete_orphan_snapshots(after_delete)
54
55
56@stellar.command()

Callers

nothing calls this directly

Calls 3

get_appFunction · 0.85
upgrade_from_old_versionFunction · 0.85

Tested by

no test coverage detected