1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off
crates/cre8-app-course/src/seat.rs
Items
const KIND_SEAT const SEAT_HOLD_TTL_MS enum SeatStatus struct CourseSeat impl CourseSeat
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| seat_vidsrc/seat.rs:27 | fn | 3 | 1 | 3 | 0 | 3.5 | |
| derive_seat_idsrc/seat.rs:31 | fn | 3 | 1 | 4 | 1 | 1.8 | |
| load_seatsrc/seat.rs:133 | fn | 6 | 1 | 9 | 1 | 1.4 | |
| CourseSeat::holdsrc/seat.rs:77 | method | 26 | 1 | 7 | 1 | 1.3 | |
| delete_seatsrc/seat.rs:142 | fn | 7 | 2 | 4 | 1 | 1.1 | |
| upsert_seatsrc/seat.rs:119 | fn | 13 | 5 | 6 | 1 | 1 | |
| list_seats_for_cohortsrc/seat.rs:151 | fn | 7 | 1 | 2 | 0 | 0.9 | |
| CourseSeat::is_paidsrc/seat.rs:110 | method | 3 | 2 | 4 | 0 | 0.9 | |
| CourseSeat::takes_capacitysrc/seat.rs:105 | method | 3 | 1 | 1 | 0 | 0.8 | |
| seats_takensrc/seat.rs:160 | fn | 3 | 1 | 4 | 2 | 0.8 | |
| CourseSeat::hold_expiredsrc/seat.rs:114 | method | 3 | 2 | 2 | 0 | 0.7 | |
| graphsrc/seat.rs:169 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| default_assetsrc/seat.rs:72 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| a_seat_is_one_per_cohort_and_learner_and_counts_capacitysrc/seat.rs:174 | fn | 20 | 1 | 0 | 7 | 0.5 | |
| only_a_charged_seat_with_its_payment_reads_as_paidsrc/seat.rs:196 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| a_hold_expires_only_after_its_ttlsrc/seat.rs:206 | fn | 5 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.