1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-passport-model/src/pubkey_store.rs
Items
trait PubkeyStore struct InMemoryPubkeyStore impl InMemoryPubkeyStore impl PubkeyStore for InMemoryPubkeyStore struct PassportPubkeyStore impl PassportPubkeyStore impl PubkeyStore for PassportPubkeyStore
Functions
By call-graph weight (PageRank; 1.0 is the average function). 28 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| InMemoryPubkeyStore::newsrc/pubkey_store.rs:58 | method | 3 | 1 | 16 | 0 | 6.1 | |
| PassportPubkeyStore::newsrc/pubkey_store.rs:131 | method | 7 | 1 | 7 | 0 | 2 | |
| signing_passportsrc/pubkey_store.rs:178 | fn | 12 | 1 | 5 | 0 | 1.5 | |
| InMemoryPubkeyStore::inner_locksrc/pubkey_store.rs:66 | method | 6 | 2 | 2 | 0 | 1.3 | |
| InMemoryPubkeyStore::sharedsrc/pubkey_store.rs:62 | method | 3 | 1 | 1 | 1 | 0.9 | |
| InMemoryPubkeyStore::lensrc/pubkey_store.rs:83 | method | 3 | 1 | 1 | 0 | 0.9 | |
| PubkeyStore::passport_id_for_accountsrc/pubkey_store.rs:44 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryPubkeyStore::insertsrc/pubkey_store.rs:73 | method | 5 | 2 | 0 | 0 | 0.5 | |
| InMemoryPubkeyStore::removesrc/pubkey_store.rs:79 | method | 3 | 1 | 0 | 0 | 0.5 | |
| InMemoryPubkeyStore::is_emptysrc/pubkey_store.rs:87 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InMemoryPubkeyStore::pubkey_for_accountsrc/pubkey_store.rs:93 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| InMemoryPubkeyStore::account_for_pubkeysrc/pubkey_store.rs:97 | trait impl | 9 | 3 | 0 | 1 | 0.5 | |
| PassportPubkeyStore::pubkey_for_accountsrc/pubkey_store.rs:141 | trait impl | 9 | 2 | 0 | 0 | 0.5 | |
| PassportPubkeyStore::account_for_pubkeysrc/pubkey_store.rs:151 | trait impl | 9 | 2 | 0 | 0 | 0.5 | |
| PassportPubkeyStore::passport_id_for_accountsrc/pubkey_store.rs:161 | trait impl | 9 | 2 | 0 | 0 | 0.5 | |
| in_memory_roundtrips_pubkeysrc/pubkey_store.rs:194 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| in_memory_shared_constructs_arc_storesrc/pubkey_store.rs:204 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| in_memory_returns_none_for_unknown_accountsrc/pubkey_store.rs:212 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| in_memory_reverse_lookupsrc/pubkey_store.rs:218 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| in_memory_remove_evictssrc/pubkey_store.rs:227 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| in_memory_surfaces_poisoned_lock_as_errorsrc/pubkey_store.rs:236 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| passport_store_pulls_pubkey_from_metadatasrc/pubkey_store.rs:257 | fn | 23 | 3 | 0 | 2 | 0.5 | |
| passport_store_returns_none_for_non_signing_providersrc/pubkey_store.rs:282 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| passport_store_returns_none_when_no_passportsrc/pubkey_store.rs:293 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| passport_store_reverse_lookup_returns_account_idsrc/pubkey_store.rs:301 | fn | 13 | 2 | 0 | 2 | 0.5 | |
| passport_store_reverse_lookup_filters_non_signing_providersrc/pubkey_store.rs:316 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| passport_store_passport_id_filters_to_signing_providersrc/pubkey_store.rs:326 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| pubkey_store_works_through_trait_objectsrc/pubkey_store.rs:344 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.