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

ensure_member

cre8_app_course::discussion::ensure_member

fn · cre8-app-course · crates/cre8-app-course/src/discussion.rs:71

22lines
5cyclomatic
2max nesting
16statements
3? exits
4params
1callers
9callees
0.9 (p73)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 2 sitesname · 1 sitename · 1 sitename · 4 sitespath · 1 sitename · 1 sitepath · 1 sitepath · 2 sitesmethod · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 3 sitesmethod · 3 sitesname · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 6 sitesmethod · 3 sitesname · 1 sitepath · 2 sitespath · 1 sitemethod · 1 sitename · 1 sitepath · 1 sitepath · 1 sitemethod · 2 sitesname · 1 sitejoin_discussion_handlerapp-course · cc 2cre8_app_course::connection::join_discussion_handlerjoin_course_threadapp-course · cc 1cre8_app_course::discussion::join_course_threadjoin_if_memberapp-course · cc 3cre8_app_course::discussion::join_if_memberthe_owner_creates_the_threa…app-course · cc 1cre8_app_course::discussion::tests::the_owner_creates_the_thread_and_learners_join_it_oncejoin_threadsapp-course · cc 3cre8_app_course::discussion::join_threadsensure_memberapp-course · cc 5cre8_app_course::discussion::ensure_memberwith_graphapp-protocol · cc 6cre8_app_protocol::graph_store::with_graphwith_graph_mutapp-protocol · cc 9cre8_app_protocol::graph_store::with_graph_mutnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64ParticipantRef::canonicalapp-messaging · cc 1cre8_app_messaging::schema::ParticipantRef::canonicalParticipantRef::accountapp-messaging · cc 1cre8_app_messaging::schema::ParticipantRef::accounteid_pairapp-messaging · cc 1cre8_app_messaging::schema::eid_pairadd_participantapp-messaging · cc 3cre8_app_messaging::thread::add_participantcreate_thread_ownedapp-messaging · cc 3cre8_app_messaging::thread::create_thread_ownedthread_existsapp-messaging · cc 1cre8_app_messaging::thread::thread_existsnow_msplatform-time · cc 1cre8_platform_time::now_msHyperDbProtocolStore::graphapp-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graphMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recoverHoldingProtocolStore::enterapp-protocol · cc 1cre8_app_protocol::graph_store::HoldingProtocolStore::enteropen_protocol_graphapp-protocol · cc 1cre8_app_protocol::graph_store::open_protocol_graphambient_protocol_storeapp-protocol · cc 1cre8_app_protocol::graph_store::ambient::ambient_protocol_storelive_protocol_store_for_fal…app-protocol · cc 2cre8_app_protocol::graph_store::live_protocol_store_for_fallbackHyperDbProtocolStore::graph…app-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graph_mutvidapp-messaging · cc 1cre8_app_messaging::schema::vidcreate_thread_internalapp-messaging · cc 9cre8_app_messaging::thread::create_thread_internal

Control flow

Source not readable from this process.

Callers 1

Callees 9

Source not readable from this process.