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

upsert_enrollment

cre8_app_course::enrollment::upsert_enrollment

fn · cre8-app-course · crates/cre8-app-course/src/enrollment.rs:114 pub generic

25lines
4cyclomatic
1max nesting
8statements
0? exits
2params
9callers
1callees
1.2 (p86)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 3 sitespath · 2 sitesname · 2 sitesname · 1 sitename · 3 sitespath · 1 sitename · 1 sitequiz_submit_handlerapp-course · cc 4cre8_app_course::connection::quiz_submit_handleradopt_shop_purchaseapp-course · cc 7cre8_app_course::enroll::adopt_shop_purchaseenroll_freeapp-course · cc 3cre8_app_course::enroll::enroll_freereactivate_with_seatapp-course · cc 1cre8_app_course::enroll::reactivate_with_seatfinalize_paid_seatapp-course · cc 3cre8_app_course::enroll::finalize_paid_seathandle_course_unenrollapp-course · cc 1cre8_app_course::connection::handle_course_unenrollhandle_lesson_completeapp-course · cc 1cre8_app_course::connection::handle_lesson_completeactivate_enrollmentapp-course · cc 5cre8_app_course::enroll::activate_enrollmentlesson_complete_handlerapp-course · cc 7cre8_app_course::connection::lesson_complete_handlerunenroll_handlerapp-course · cc 1cre8_app_course::connection::unenroll_handlerpaid_enrollment_rejects_cla…app-course · cc 3cre8_app_course::e2e_tests::paid_enrollment_rejects_claimed_payment_without_writes_or_reactivationre_activating_keeps_a_finis…app-course · cc 1cre8_app_course::enroll::tests::re_activating_keeps_a_finished_enrollment_finished_and_reports_the_transitionenrollment_is_one_per_learn…app-course · cc 1cre8_app_course::enrollment::tests::enrollment_is_one_per_learner_courseenrollment_status_transitio…app-course · cc 1cre8_app_course::enrollment::tests::enrollment_status_transitions_persistindexed_lists_carry_the_coh…app-course · cc 1cre8_app_course::enrollment::tests::indexed_lists_carry_the_cohort_seat_and_paymentinsights_count_cohorts_comp…app-course · cc 3cre8_app_course::insights::tests::insights_count_cohorts_completion_funnel_quizzes_and_activityupsert_enrollmentapp-course · cc 4cre8_app_course::enrollment::upsert_enrollmentenrollment_vidapp-course · cc 1cre8_app_course::enrollment::enrollment_vid

Control flow

Source not readable from this process.

Callees 1

Source not readable from this process.