Skip to content
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

get_ballot

cre8_app_ballot::store::get_ballot

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

35lines
1cyclomatic
0max nesting
11statements
3? exits
2params
10callers
6callees
1.9 (p94)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitesmethod · 2 sitesmethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 2 sitespath · 1 sitemethod · 1 sitepath · 1 sitemethod · 1 siteself · 1 sitename · 1 siteself · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 siteref · 1 sitehandle_ballot_upsertapp-ballot · cc 2cre8_app_ballot::connection::handle_ballot_upsertrun_previewapp-ballot · cc 1cre8_app_ballot::connection::run_previewrun_closeapp-ballot · cc 1cre8_app_ballot::connection::run_closerun_tallyapp-ballot · cc 1cre8_app_ballot::connection::run_tallyprepare_ballot_submissionapp-ballot · cc 1cre8_app_ballot::connection::prepare_ballot_submissionrun_lookup_actionapp-ballot · cc 4cre8_app_ballot::connection::run_lookup_actionhandle_ballot_getapp-ballot · cc 2cre8_app_ballot::connection::handle_ballot_getrun_write_actionapp-ballot · cc 4cre8_app_ballot::connection::run_write_actionopen_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_winnerrun_upsertapp-ballot · cc 3cre8_app_ballot::connection::run_upserttally_ballotapp-ballot · cc 2cre8_app_ballot::close_tally::tally_ballotrun_getapp-ballot · cc 1cre8_app_ballot::connection::run_getconnectapp-location · cc 18cre8_app_location::opportunity::native::connectclose_ballotapp-ballot · cc 3cre8_app_ballot::close_tally::close_ballotresponse_inputsapp-ballot · cc 1cre8_app_ballot::connection::response_inputsanswer_template_contextapp-ballot · cc 1cre8_app_ballot::answer_view::answer_template_contextclose_seals_the_outcome_aga…app-ballot · cc 1cre8_app_ballot::close_tally::tests::close_seals_the_outcome_against_later_votes_and_rep_shiftscreateapp-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_enforcedget_ballotapp-ballot · cc 1cre8_app_ballot::store::get_ballotRuntimeContext::truthapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truthrow_get_stringapp-truth · cc 1cre8_app_truth::interface::row_get_stringTruthInterface::query_sqlapp-truth · cc 2cre8_app_truth::interface::TruthInterface::query_sqllist_filterapp-truth · cc 1cre8_app_truth::browser_kv::list_filterseed_builtin_ballotsapp-ballot · cc 3cre8_app_ballot::store::seed_builtin_ballotsballot_from_payloadapp-ballot · cc 1cre8_app_ballot::store::ballot_from_payloadRuntimeContext::truth_optapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truth_optrow_get_valueapp-truth · cc 1cre8_app_truth::interface::row_get_valueTruthInterface::sql_bridgeapp-truth · cc 6cre8_app_truth::interface::TruthInterface::sql_bridgerun_sql_queryapp-truth · cc 2cre8_app_truth::providers::sql_common::run_sql_queryensure_tablesapp-ballot · cc 1cre8_app_ballot::store::ensure_tablesnormalize_ballotapp-ballot · cc 4cre8_app_ballot::store::normalize_ballotbuiltin_ballotsapp-ballot · cc 1cre8_app_ballot::seeds::builtin_ballotsseed_builtin_ballotapp-ballot · cc 1cre8_app_ballot::store::seed_builtin_ballot

Control flow

Source not readable from this process.

Callers 10

Callees 6

Source not readable from this process.