Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-course/src/model.rs

cre8-app-course · module model · src · 969 lines (767 code, 113 comment) · sha 305bfe12521372d5

Items

const KIND_COURSE const KIND_MODULE const KIND_LESSON enum CourseStatus impl Default for CourseStatus impl CourseStatus enum LessonContentKind impl Default for LessonContentKind struct Course const MAX_COURSE_LINES const MAX_COURSE_LINE_CHARS impl Course struct CourseModule impl CourseModule struct Lesson impl Lesson struct OutlineSection struct CourseOutline

Functions

By call-graph weight (PageRank; 1.0 is the average function). 55 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
derive_course_idsrc/model.rs:58fn31414
load_coursesrc/model.rs:339fn313234
Course::newsrc/model.rs:256method3112323.7
derive_lesson_idsrc/model.rs:70fn31213.1
Lesson::newsrc/model.rs:542method2911213.1
lesson_vidsrc/model.rs:51fn31813
parse_lessonsrc/model.rs:661fn251362.6
parse_coursesrc/model.rs:371fn291392.6
course_vidsrc/model.rs:43fn31212.3
default_currencysrc/model.rs:239fn31102
upsert_coursesrc/model.rs:289fn3951721.7
parse_modulesrc/model.rs:484fn121231.7
derive_module_idsrc/model.rs:64fn31211.6
list_lessons_forsrc/model.rs:615fn1011911.6
unused_idsrc/model.rs:97fn71221.5
module_vidsrc/model.rs:47fn31311.4
clean_linessrc/model.rs:229fn91201.4
CourseModule::newsrc/model.rs:418method61511.2
upsert_lessonsrc/model.rs:585fn2731421.2
graphsrc/model.rs:741fn311001.2
CourseStatus::is_publicsrc/model.rs:130method31201.2
list_modules_forsrc/model.rs:458fn1011111.1
slugifysrc/model.rs:106fn31311
delete_if_presentsrc/model.rs:477fn62201
outline_ordersrc/model.rs:649fn112601
list_coursessrc/model.rs:343fn31420.9
load_modulesrc/model.rs:469fn31430.9
upsert_modulesrc/model.rs:437fn183720.9
line_listsrc/model.rs:365fn51110.7
load_lessonsrc/model.rs:638fn31430.7
list_live_lessons_forsrc/model.rs:627fn102110.7
list_courses_by_sale_channelsrc/model.rs:331fn71210.7
find_course_by_slugsrc/model.rs:351fn124330.7
delete_modulesrc/model.rs:473fn31220.6
generate_module_idsrc/model.rs:77fn81210.6
CourseModule::with_idsrc/model.rs:426method91210.6
delete_lessonsrc/model.rs:642fn31220.6
sale_channelsrc/model.rs:245fn93100.6
build_outlinesrc/model.rs:709fn242200.6
generate_lesson_idsrc/model.rs:87fn81210.6
Lesson::with_idsrc/model.rs:573method101210.6
CourseStatus::defaultsrc/model.rs:124trait impl31000.5
LessonContentKind::defaultsrc/model.rs:153trait impl31000.5
course_round_trips_and_validatessrc/model.rs:746fn231060.5
course_validation_rejects_empty_fieldssrc/model.rs:771fn101030.5
academy_id_is_optional_and_persistssrc/model.rs:783fn81040.5
modules_and_lessons_sort_by_ordersrc/model.rs:793fn221090.5
outline_groups_lessons_under_modulessrc/model.rs:817fn2310110.5
slugify_is_url_safesrc/model.rs:842fn51010.5
lesson_content_kinds_round_tripsrc/model.rs:849fn151060.5
catalog_fields_round_trip_and_the_cover_answers_to_both_namessrc/model.rs:866fn221040.5
generated_ids_survive_a_rename_and_never_collide_with_the_old_titlesrc/model.rs:890fn2710150.5
drip_and_quiz_settings_persist_on_the_lessonsrc/model.rs:919fn181070.5
outline_order_walks_modules_then_unsectioned_lessonssrc/model.rs:939fn111040.5
shop_bound_courses_are_found_through_the_sale_channel_indexsrc/model.rs:952fn172050.5

Source not readable from this process.