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

handle_send

cre8_app_postal::connection::handle_send

fn · cre8-app-postal · crates/cre8-app-postal/src/connection.rs:167 pub

80lines
13cyclomatic
2max nesting
35statements
9? exits
2params
11callers
11callees
1.2 (p86)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 2 sitesname · 2 sitesname · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 5 sitespath · 1 sitepath · 1 sitename · 1 sitename · 2 sitesref · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitename · 8 sitespath · 1 sitemethod · 1 sitemethod · 1 sitename · 1 sitepath · 1 sitename · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitesname · 1 sitepath · 1 sitename · 1 sitename · 1 siteconnectapp-postal · cc 1cre8_app_postal::view_templates::connectPostalApp::connectapp-postal · cc 1cre8_app_postal::app::PostalApp::connectconnectapp-postal · cc 10cre8_app_postal::connection::connecta_campaign_runs_from_saved_…app-marketing · cc 17cre8_app_marketing::campaign_e2e_tests::a_campaign_runs_from_saved_facts_to_a_counted_scana_dry_run_plans_and_a_confi…app-marketing · cc 12cre8_app_marketing::campaign_launch::tests::saved::a_dry_run_plans_and_a_confirmed_launch_mails_prints_and_records_receiptsfake_letters_walk_their_who…app-postal · cc 2cre8_app_postal::connection::tests::fake_letters_walk_their_whole_lifecycle_through_the_webhookan_idempotency_key_replays_…app-postal · cc 1cre8_app_postal::connection::tests::an_idempotency_key_replays_the_first_piececancel_is_owner_gated_and_o…app-postal · cc 1cre8_app_postal::connection::tests::cancel_is_owner_gated_and_only_before_paperbad_input_is_refused_before…app-postal · cc 1cre8_app_postal::connection::tests::bad_input_is_refused_before_anything_is_storedmark_status_is_for_rails_wi…app-postal · cc 1cre8_app_postal::connection::tests::mark_status_is_for_rails_without_trackingthe_device_rail_prints_each…app-postal · cc 1cre8_app_postal::connection::tests::the_device_rail_prints_each_page_and_refresh_settles_it_as_printedthe_device_rail_refuses_pos…app-postal · cc 1cre8_app_postal::connection::tests::the_device_rail_refuses_postcards_and_htmla_piece_that_failed_before_…app-postal · cc 1cre8_app_postal::connection::tests::a_piece_that_failed_before_the_provider_answered_is_resubmitted_only_on_requesthandle_sendapp-postal · cc 13cre8_app_postal::connection::handle_sendSendRequest::from_inputapp-postal · cc 12cre8_app_postal::model::SendRequest::from_inputtextapp-postal · cc 1cre8_app_postal::connection::textnow_msapp-postal · cc 1cre8_app_postal::connection::now_msrail_forapp-postal · cc 6cre8_app_postal::providers::rail_forupsert_pieceapp-postal · cc 1cre8_app_postal::store::upsert_piececallerapp-postal · cc 1cre8_app_postal::connection::callerrequire_live_paid_sendapp-postal · cc 6cre8_app_postal::connection::require_live_paid_sendapply_receiptapp-postal · cc 8cre8_app_postal::connection::apply_receiptfind_by_idempotency_keyapp-postal · cc 2cre8_app_postal::store::find_by_idempotency_keynew_piece_idapp-postal · cc 1cre8_app_postal::connection::new_piece_idchoose_railapp-postal · cc 3cre8_app_postal::connection::choose_railvar_optplatform-env · cc 2cre8_platform_env::var_optRuntimeContext::truthapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truthTruthInterface::command_sqlapp-truth · cc 8cre8_app_truth::interface::TruthInterface::command_sqlnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64nonceplatform-entropy · cc 1cre8_platform_entropy::noncecaller_identity_from_actorruntime-app-types · cc 1cre8_runtime_app_types::caller::caller_identity_from_actorvar_boolplatform-env · cc 1cre8_platform_env::var_boolruntime_operatorsruntime-app-types · cc 1cre8_runtime_app_types::caller::runtime_operatorsverified_operatorruntime-app-types · cc 1cre8_runtime_app_types::caller::verified_operatorvar_u64platform-env · cc 1cre8_platform_env::var_u64

Control flow

Source not readable from this process.

Callees 11

Source not readable from this process.