Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off

crates/cre8-app-prediction/src/ballot_store.rs

cre8-app-prediction · module ballot_store · src · 282 lines (220 code, 36 comment) · sha c71d8b96f269d1a0

Items

const KIND_RESOLUTION_BALLOT enum BallotStatus struct StoredBallot impl StoredBallot

Functions

By call-graph weight (PageRank; 1.0 is the average function). 20 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
derive_ballot_idsrc/ballot_store.rs:38fn51403.5
StoredBallot::newsrc/ballot_store.rs:72method131712
list_ballotssrc/ballot_store.rs:147fn103341.9
list_open_ballotssrc/ballot_store.rs:158fn61521.9
ballot_vidsrc/ballot_store.rs:32fn31201.2
upsert_ballotsrc/ballot_store.rs:112fn264421.2
parse_ballotsrc/ballot_store.rs:188fn161201.1
StoredBallot::has_votedsrc/ballot_store.rs:105method31301
find_open_ballot_for_eventsrc/ballot_store.rs:168fn52321
load_ballotsrc/ballot_store.rs:139fn71240.9
with_ballot_mutsrc/ballot_store.rs:176fn111330.9
StoredBallot::as_ballotsrc/ballot_store.rs:89method71300.8
StoredBallot::merge_from_ballotsrc/ballot_store.rs:100method31300.8
derive_ballot_id_is_deterministicsrc/ballot_store.rs:210fn61010.5
derive_ballot_id_distinct_per_eventsrc/ballot_store.rs:218fn51010.5
derive_ballot_id_distinct_per_open_tssrc/ballot_store.rs:225fn51010.5
new_ballot_starts_open_with_no_votessrc/ballot_store.rs:232fn81010.5
min_quorum_clamps_to_onesrc/ballot_store.rs:242fn41010.5
has_voted_detects_repeatssrc/ballot_store.rs:248fn151020.5
as_ballot_round_trips_through_pure_structsrc/ballot_store.rs:265fn171050.5

Source not readable from this process.