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

validate_parts

cre8_app_messaging::attachments::validate_parts

fn · cre8-app-messaging · crates/cre8-app-messaging/src/attachments.rs:132 pub

22lines
7cyclomatic
3max nesting
9statements
1? exits
3params
3callers
2callees
0.6 (p47)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 3 sitesmethod · 4 sitespath · 1 sitepath · 2 sitesmethod · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitepath · 1 sitedispatch_thread_actionapp-messaging · cc 10cre8_app_messaging::connection::dispatch_thread_actionrun_send_thread_messageapp-messaging · cc 4cre8_app_messaging::connection::run_send_thread_messagerun_model_turnapp-messaging · cc 29cre8_app_messaging::connection::run_model_turnencrypted_upload_requires_m…app-messaging · cc 3cre8_app_messaging::connection::attachment_integration::encrypted_upload_requires_membership_survives_graph_reopen_and_supports_rangesvalidate_partsapp-messaging · cc 7cre8_app_messaging::attachments::validate_partsparse_hrefapp-messaging · cc 6cre8_app_messaging::attachments::parse_hrefreadapp-messaging · cc 9cre8_app_messaging::attachments::readsha256_hexutil-crypto · cc 1cre8_util_crypto::sha256_hexget_verified_bytesapp-atom · cc 2cre8_app_atom::store::get_verified_bytesRuntimeContext::with_protoc…app-protocol · cc 1cre8_app_protocol::context_ext::RuntimeContext::with_protocol_storeget_metaapp-atom · cc 1cre8_app_atom::store::get_metaThreadSnapshot::loadapp-messaging · cc 1cre8_app_messaging::thread::ThreadSnapshot::loadauthenticated_participantapp-messaging · cc 9cre8_app_messaging::connection::authenticated_participantrequire_thread_memberapp-messaging · cc 2cre8_app_messaging::connection::require_thread_membervertex_idapp-messaging · cc 1cre8_app_messaging::attachments::vertex_idaadapp-messaging · cc 1cre8_app_messaging::attachments::aadallowed_mimeapp-messaging · cc 4cre8_app_messaging::attachments::allowed_mime

Control flow

Source not readable from this process.

Callers 3

Callees 2

Source not readable from this process.