Skip to content
1 viewer

rust 1,859,989 · typescript 235,245 · javascript 132,952 · python 20,426 · 6,406 files · digest 386394835379 · built in 1.3 s · crystals off

upsert_vote

cre8_app_proposal::store::upsert_vote

fn · cre8-app-proposal · crates/cre8-app-proposal/src/store.rs:90 pub

5lines
1cyclomatic
0max nesting
3statements
1? exits
1params
2callers
2callees
1.1 (p82)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (2 direct callers, 2 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitename · 1 sitename · 2 sitesname · 3 sitesname · 2 sitesname · 1 sitename · 1 sitename · 3 sitesname · 3 sitespath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitevote_durableapp-proposal · cc 2cre8_app_proposal::persistence::vote_durableProposalApp::bootapp-proposal · cc 1cre8_app_proposal::app::ProposalApp::bootvote_rejects_when_not_openapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_rejects_when_not_openvote_overwrites_on_changeapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_overwrites_on_changesimple_majority_passes_with…app-proposal · cc 1cre8_app_proposal::policy::tests::simple_majority_passes_with_quorum_and_thresholdabstentions_dont_count_towa…app-proposal · cc 1cre8_app_proposal::policy::tests::abstentions_dont_count_toward_threshold_denominatorratify_returns_mutation_and…app-proposal · cc 1cre8_app_proposal::policy::tests::ratify_returns_mutation_and_closesratify_twice_rejectsapp-proposal · cc 1cre8_app_proposal::policy::tests::ratify_twice_rejectssupermajority_requires_two_…app-proposal · cc 1cre8_app_proposal::policy::tests::supermajority_requires_two_thirdsunanimous_requires_all_yesapp-proposal · cc 1cre8_app_proposal::policy::tests::unanimous_requires_all_yesvoteapp-proposal · cc 3cre8_app_proposal::policy::voterestore_proposals_from_pers…app-proposal · cc 3cre8_app_proposal::persistence::restore_proposals_from_persistenceupsert_voteapp-proposal · cc 1cre8_app_proposal::store::upsert_votelock_storeapp-proposal · cc 1cre8_app_proposal::store::lock_storeupsert_vote_lockedapp-proposal · cc 1cre8_app_proposal::store::upsert_vote_lockedstoreapp-proposal · cc 1cre8_app_proposal::store::store

Control flow

Source not readable from this process.

Callers 2

Callees 2

Source not readable from this process.