diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-09-17 17:26:31 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-18 10:14:15 +0200 |
commit | d82b21d5ab152ab67ead5c720979320ea20bdb58 (patch) | |
tree | b15d0f178467935f3a206a81beaa53d75d55584c /tool/src | |
parent | 702d7c5dc4dfff8bb591bc87f33c968bb52cd33c (diff) |
store: Rename store::Pool to Store.
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/mod.rs | 2 | ||||
-rw-r--r-- | tool/src/sq.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index de671fa6..37f0852f 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -322,7 +322,7 @@ impl<'a> VerificationHelper for VHelper<'a> { // Try to get missing TPKs from the pool. for id in ids.iter().filter(|i| !seen.contains(i)) { let _ = - store::Pool::lookup_by_subkeyid(self.ctx, id) + store::Store::lookup_by_subkeyid(self.ctx, id) .and_then(|key| { // Keys from the pool are NOT trusted. key.tpk() diff --git a/tool/src/sq.rs b/tool/src/sq.rs index 94486ac7..78e571d3 100644 --- a/tool/src/sq.rs +++ b/tool/src/sq.rs @@ -490,7 +490,7 @@ fn real_main() -> Result<(), failure::Error> { table.set_format(*prettytable::format::consts::FORMAT_NO_LINESEP_WITH_TITLE); table.set_titles(row!["fingerprint", "updated", "status"]); - for (fingerprint, key) in store::Pool::list_keys(&ctx)? { + for (fingerprint, key) in store::Store::list_keys(&ctx)? { let stats = key.stats() .context("Failed to get key stats")?; table.add_row(Row::new(vec![ @@ -507,7 +507,7 @@ fn real_main() -> Result<(), failure::Error> { table.printstd(); }, ("log", Some(_)) => { - print_log(store::Pool::server_log(&ctx)?, true); + print_log(store::Store::server_log(&ctx)?, true); }, _ => unreachable!(), } |