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

find_promo

cre8_app_event::sales::find_promo

fn · cre8-app-event · crates/cre8-app-event/src/sales.rs:149 pub documented

7lines
2cyclomatic
1max nesting
4statements
0? exits
2params
4callers
1callees
1 (p80)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitepath · 1 sitename · 3 sitesname · 3 sitesname · 4 sitesname · 3 sitesname · 4 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 siteabandonapp-event · cc 2cre8_app_event::connection::purchase::abandonreserve_seatsapp-event · cc 3cre8_app_event::connection::purchase::reserve_seatshandle_event_promo_upsertapp-event · cc 1cre8_app_event::connection::handle_event_promo_upsertseveral_seats_keep_seat_zer…app-event · cc 2cre8_app_event::connection::purchase::tests::several_seats_keep_seat_zero_and_derive_the_resttoo_few_seats_refuse_severa…app-event · cc 1cre8_app_event::connection::purchase::tests::too_few_seats_refuse_several_and_waitlist_onea_promo_code_discounts_each…app-event · cc 3cre8_app_event::connection::purchase::tests::a_promo_code_discounts_each_new_seat_and_takes_one_use_per_seatnew_seats_respect_the_sales…app-event · cc 1cre8_app_event::connection::purchase::tests::new_seats_respect_the_sales_windowa_seat_passed_on_is_neither…app-event · cc 1cre8_app_event::connection::purchase::tests::a_seat_passed_on_is_neither_the_old_holders_nor_written_overplan_purchaseapp-event · cc 16cre8_app_event::connection::purchase::plan_purchaseevent_promo_upsert_handlerapp-event · cc 4cre8_app_event::connection::update::event_promo_upsert_handlerrelease_promoapp-event · cc 1cre8_app_event::connection::purchase::release_promopromo_codes_match_case_inse…app-event · cc 2cre8_app_event::sales::tests::promo_codes_match_case_insensitively_and_validate_their_termsfind_promoapp-event · cc 2cre8_app_event::sales::find_promonormalize_promo_codeapp-event · cc 1cre8_app_event::sales::normalize_promo_code

Control flow

Source not readable from this process.

Callers 4

Callees 1

Source not readable from this process.