@click.command('<STR_LIT>')<EOL>@click.pass_context<EOL>@decorators.print_markers<EOL>def gc(ctx):
vcs = ctx.obj['<STR_LIT>']<EOL>count = <NUM_LIT:0><EOL>with locking.lock(vcs, locking.Lock.tests_history):<EOL><INDENT>known_signatures = set(get_committed_signatures(vcs) + get_staged_signatures(vcs))<EOL>for signature in get_signatures_with_results(vcs):<EOL><INDENT>if signature not in known_signatures:<EOL><INDENT>count += <NUM_LIT:1><EOL>remove_results(vcs, signature)<EOL><DEDENT><DEDENT><DEDENT>click.echo('<STR_LIT>'.format(count))<EOL>
Runs housekeeping tasks to free up space.

    For now, this only removes saved but unused (unreachable) test results.