Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.9 s · crystals off

try_serve

cre8_app_atom::serve::try_serve

fn · cre8-app-atom · crates/cre8-app-atom/src/serve.rs:42 pub documented

105lines
50cyclomatic
2max nesting
52statements
0? exits
2params
28callers
28callees
4.4 (p99)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 3 sitespath · 1 sitename · 1 sitepath · 1 sitename · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 4 sitespath · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 2 sitespath · 3 sitespath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 siteAtomApp::raw_handleapp-atom · cc 1cre8_app_atom::app::AtomApp::raw_handletry_serve_skips_non_atom_ro…app-atom · cc 1cre8_app_atom::serve::tests::try_serve_skips_non_atom_routestry_serve_skips_non_post_on…app-atom · cc 1cre8_app_atom::serve::tests::try_serve_skips_non_post_on_uploadupload_empty_body_returns_4…app-atom · cc 1cre8_app_atom::serve::tests::upload_empty_body_returns_400upload_stores_and_returns_a…app-atom · cc 1cre8_app_atom::serve::tests::upload_stores_and_returns_atom_idupload_sniffs_wasm_binaryapp-atom · cc 1cre8_app_atom::serve::tests::upload_sniffs_wasm_binaryupload_respects_kind_header…app-atom · cc 1cre8_app_atom::serve::tests::upload_respects_kind_header_overrideupload_unknown_kind_header_…app-atom · cc 1cre8_app_atom::serve::tests::upload_unknown_kind_header_falls_through_to_otherupload_with_context_attempt…app-atom · cc 1cre8_app_atom::serve::tests::upload_with_context_attempts_crystallizationupload_idempotent_on_same_b…app-atom · cc 1cre8_app_atom::serve::tests::upload_idempotent_on_same_bytesget_atom_route_without_path…app-atom · cc 1cre8_app_atom::serve::tests::get_atom_route_without_path_param_returns_400meta_and_provenance_routes_…app-atom · cc 1cre8_app_atom::serve::tests::meta_and_provenance_routes_cover_json_endpointsbytes_route_without_context…app-atom · cc 1cre8_app_atom::serve::tests::bytes_route_without_context_serves_free_with_atom_headerssvg_is_served_as_an_inert_i…app-atom · cc 2cre8_app_atom::serve::tests::svg_is_served_as_an_inert_image_and_documents_keep_their_typetry_serveapp-atom · cc 50cre8_app_atom::serve::try_servetry_handleapp-atom · cc 5cre8_app_atom::upload::try_handlehandle_semantic_context_wit…app-atom · cc 10cre8_app_atom::semantic::handle_semantic_context_with_contexthandle_gc_with_contextapp-atom · cc 15cre8_app_atom::gc::handle_gc_with_contexthandle_restore_treeapp-atom · cc 12cre8_app_atom::tree::handle_restore_treehandle_atomize_tree_with_co…app-atom · cc 64cre8_app_atom::tree::handle_atomize_tree_with_contexthandle_forget_with_contextapp-atom · cc 15cre8_app_atom::gc::handle_forget_with_contextatom_path_matchesapp-atom · cc 2cre8_app_atom::serve::atom_path_matcheshandle_pull_tree_with_conte…app-atom · cc 27cre8_app_atom::sync::handle_pull_tree_with_contexthandle_semantic_ingest_with…app-atom · cc 4cre8_app_atom::semantic::handle_semantic_ingest_with_contexthandle_semantic_project_wit…app-atom · cc 6cre8_app_atom::semantic::handle_semantic_project_with_contexthandle_semantic_materialize…app-atom · cc 24cre8_app_atom::semantic::handle_semantic_materialize_with_contexthandle_pull_semantics_with_…app-atom · cc 28cre8_app_atom::sync::handle_pull_semantics_with_contexthandle_pull_semantic_closur…app-atom · cc 35cre8_app_atom::sync::handle_pull_semantic_closure_with_contextrender_atoms_directoryapp-atom · cc 3cre8_app_atom::directory::render_atoms_directorynow_msplatform-time · cc 1cre8_platform_time::now_msTimestamp::elapsedplatform-time · cc 1cre8_platform_time::Timestamp::elapsedstore_atomapp-atom · cc 1cre8_app_atom::store::store_atomcontent_addressapp-atom · cc 1cre8_app_atom::store::content_addressget_verified_bytesapp-atom · cc 2cre8_app_atom::store::get_verified_bytesstore_rootapp-atom · cc 1cre8_app_atom::store::store_rootis_canonical_atom_idapp-atom · cc 3cre8_app_atom::tree::is_canonical_atom_idstore_atom_durableapp-atom · cc 2cre8_app_atom::store::store_atom_durableis_atom_durableapp-atom · cc 2cre8_app_atom::store::is_atom_durableAtomKind::sniffapp-atom · cc 10cre8_app_atom::store::AtomKind::sniff

Control flow

Source not readable from this process.

Callers 28

Callees 28

Source not readable from this process.