fn garbage_collect_vault_command(matches: &ArgMatches) {
    if let Some(matches) = matches.subcommand_matches("garbage_collect") {
        if let Some(ref pass) = matches.value_of("password") {
            let snapshot = get_snapshot_path();
            let client: Client<Provider> = deserialize_from_snapshot(&snapshot, pass);

            client.perform_gc();
            client.list_ids();

            let snapshot = get_snapshot_path();
            serialize_to_snapshot(&snapshot, pass, client);
        }
    }
}
// garbage collect the chain.  Remove any revoked data from the chain.
garbage collect the chain.  Remove any revoked data from the chain.
garbage collect the chain . Remove any revoked data from the chain .
fn garbage_collect_vault_command(matches: &ArgMatches) {
    if let Some(matches) = matches.subcommand_matches("garbage_collect") {
        if let Some(ref pass) = matches.value_of("password") {
            let snapshot = get_snapshot_path();
            let client: Client<Provider> = deserialize_from_snapshot(&snapshot, pass);
            client.perform_gc();
            client.list_ids();
            let snapshot = get_snapshot_path();
            serialize_to_snapshot(&snapshot, pass, client);
        }
    }
}
fn garbage_collect_vault_command ( matches : & ArgMatches ) { if let Some ( matches ) = matches . subcommand_matches ( " " ) { if let Some ( ref pass ) = matches . value_of ( " " ) { let snapshot = get_snapshot_path ( ) ; let client : Client < Provider > = deserialize_from_snapshot ( & snapshot , pass ) ; client . perform_gc ( ) ; client . list_ids ( ) ; let snapshot = get_snapshot_path ( ) ; serialize_to_snapshot ( & snapshot , pass , client ) ; } } }
garbage collect the chain.
garbage collect the chain .
matches
&ArgMatches