1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-app-network/src/federation/sync.rs
Items
struct SyncPeerInput struct SyncAllInput struct SyncPeerReport struct SyncAllReport struct SyncPeerCounts impl SyncPeerCounts
Functions
By call-graph weight (PageRank; 1.0 is the average function). 25 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SyncPeerCounts::record_learnedsrc/federation/sync.rs:130 | method | 5 | 2 | 3 | 0 | 2.1 | |
| response_fieldsrc/federation/sync.rs:137 | fn | 3 | 1 | 4 | 0 | 2 | |
| sync_peer_rejection_reasonsrc/federation/sync.rs:187 | fn | 3 | 1 | 3 | 1 | 1.3 | |
| response_body_withsrc/federation/sync.rs:141 | fn | 3 | 2 | 1 | 0 | 1.2 | |
| sync_peersrc/federation/sync.rs:380 | fn | 59 | 3 | 2 | 11 | 1.1 | |
| resolve_peer_urlsrc/federation/sync.rs:145 | fn | 24 | 2 | 3 | 2 | 0.9 | |
| advertise_interests_to_peerssrc/federation/sync.rs:497 | fn | 34 | 3 | 2 | 3 | 0.8 | |
| extract_validationssrc/federation/sync.rs:172 | fn | 7 | 1 | 2 | 1 | 0.8 | |
| sync_allsrc/federation/sync.rs:440 | fn | 56 | 3 | 1 | 2 | 0.8 | |
| load_known_peer_ids_for_interestsrc/federation/sync.rs:532 | fn | 15 | 4 | 1 | 1 | 0.7 | |
| touch_synced_peersrc/federation/sync.rs:295 | fn | 10 | 2 | 1 | 1 | 0.7 | |
| upsert_sync_peer_snapshotsrc/federation/sync.rs:306 | fn | 39 | 2 | 1 | 1 | 0.7 | |
| advance_sync_peer_cursorsrc/federation/sync.rs:346 | fn | 33 | 2 | 1 | 2 | 0.7 | |
| SyncPeerCounts::record_storedsrc/federation/sync.rs:111 | method | 4 | 1 | 1 | 1 | 0.6 | |
| SyncPeerCounts::record_duplicatesrc/federation/sync.rs:116 | method | 4 | 1 | 1 | 1 | 0.6 | |
| SyncPeerCounts::record_association_formedsrc/federation/sync.rs:121 | method | 8 | 2 | 1 | 1 | 0.6 | |
| broadcast_validation_to_peerssrc/federation/sync.rs:248 | fn | 27 | 2 | 1 | 6 | 0.6 | |
| sync_peer_cursor_after_ts_mssrc/federation/sync.rs:180 | fn | 6 | 1 | 1 | 1 | 0.6 | |
| sync_peer_rejection_errorsrc/federation/sync.rs:191 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| record_sync_peer_rejectionsrc/federation/sync.rs:195 | fn | 37 | 2 | 1 | 2 | 0.6 | |
| import_sync_peer_validationssrc/federation/sync.rs:233 | fn | 14 | 3 | 1 | 1 | 0.6 | |
| record_sync_peer_successsrc/federation/sync.rs:276 | fn | 18 | 1 | 1 | 3 | 0.6 | |
| SyncPeerCounts::observesrc/federation/sync.rs:97 | method | 13 | 7 | 0 | 3 | 0.5 | |
| response_helpers_accept_wrapped_payloadssrc/federation/sync.rs:553 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| observe_records_each_push_outcome_bucketsrc/federation/sync.rs:570 | fn | 29 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.