Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

upsert_ballot

cre8_app_ballot::store::upsert_ballot

fn · cre8-app-ballot · crates/cre8-app-ballot/src/store.rs:126 pub

49lines
1cyclomatic
0max nesting
10statements
4? exits
2params
13callers
6callees
2.1 (p95)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitepath · 1 sitemethod · 3 sitesmethod · 3 sitespath · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 4 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 2 sitesmethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitespath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 siteself · 1 siteself · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitehandle_ballot_upsertapp-ballot · cc 2cre8_app_ballot::connection::handle_ballot_upsertrun_legislation_read_actionapp-legislation · cc 6cre8_app_legislation::connection::run_legislation_read_actionanswerapp-ballot · cc 6cre8_app_ballot::programs::native::answerclose_ballotapp-ballot · cc 3cre8_app_ballot::close_tally::close_ballotsubmit_program_intentionapp-ballot · cc 1cre8_app_ballot::connection::submit_program_intentionrun_feed_actionapp-ballot · cc 3cre8_app_ballot::connection::run_feed_actionrun_write_actionapp-ballot · cc 4cre8_app_ballot::connection::run_write_actionhandle_legislation_daily_ba…app-legislation · cc 2cre8_app_legislation::connection::handle_legislation_daily_ballot_generatehandle_ballot_generate_from…app-ballot · cc 2cre8_app_ballot::connection::handle_ballot_generate_from_positionsdaily_ballot_generate_handl…app-legislation · cc 1cre8_app_legislation::connection::tests::daily_ballot_generate_handles_empty_missing_and_generated_casesrun_upsertapp-ballot · cc 3cre8_app_ballot::connection::run_upsertrun_daily_ballot_generateapp-legislation · cc 5cre8_app_legislation::connection::run_daily_ballot_generaterun_generate_from_positionsapp-ballot · cc 1cre8_app_ballot::connection::run_generate_from_positionsconnectapp-location · cc 18cre8_app_location::opportunity::native::connectcommit_program_intentionapp-ballot · cc 1cre8_app_ballot::connection::commit_program_intentionmark_closedapp-ballot · cc 1cre8_app_ballot::close_tally::mark_closedtally_weights_votes_by_rep_…app-ballot · cc 1cre8_app_ballot::close_tally::tests::tally_weights_votes_by_rep_and_picks_winnerlatest_response_per_peer_su…app-ballot · cc 1cre8_app_ballot::close_tally::tests::latest_response_per_peer_supersedes_earlier_onesclose_seals_the_outcome_aga…app-ballot · cc 1cre8_app_ballot::close_tally::tests::close_seals_the_outcome_against_later_votes_and_rep_shiftsopen_ballot_tally_is_a_prov…app-ballot · cc 1cre8_app_ballot::close_tally::tests::open_ballot_tally_is_a_provisional_projectionempty_ballot_closes_with_no…app-ballot · cc 1cre8_app_ballot::close_tally::tests::empty_ballot_closes_with_no_winnercreateapp-ballot · cc 33cre8_app_ballot::discovery::createcaller_visibility_range_and…app-location · cc 2cre8_app_location::opportunity::tests::caller_visibility_range_and_published_revision_are_enforcedupsert_ballotapp-ballot · cc 1cre8_app_ballot::store::upsert_ballotRuntimeContext::truthapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truthTruthInterface::command_sqlapp-truth · cc 8cre8_app_truth::interface::TruthInterface::command_sqlputapp-truth · cc 1cre8_app_truth::browser_kv::putensure_tablesapp-ballot · cc 1cre8_app_ballot::store::ensure_tablesnormalize_ballotapp-ballot · cc 4cre8_app_ballot::store::normalize_ballotstatus_textapp-ballot · cc 4cre8_app_ballot::store::status_textRuntimeContext::truth_optapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truth_optensure_tables_from_ddlapp-truth · cc 3cre8_app_truth::ensure_tables_from_ddlnow_secsplatform-time · cc 1cre8_platform_time::now_secsTruthInterface::sql_bridgeapp-truth · cc 6cre8_app_truth::interface::TruthInterface::sql_bridgerun_sql_commandapp-truth · cc 1cre8_app_truth::providers::sql_common::run_sql_command

Control flow

Source not readable from this process.

Callers 13

Callees 6

Source not readable from this process.