1 viewer
rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off
crates/cre8-app-interpret/src/scripted_app.rs
Items
const SCRIPTED_APPS_DIR_ENV const SCRIPTED_APPS_DEFAULT_DIR const DEFAULT_MAX_STEPS const SCRIPTED_RECEIPTS_ENV const SCRIPTED_PROOFS_ENV struct ScriptedAppManifest struct ManifestConnection struct ManifestModule const SUPPORTED_MANIFEST_VERSION struct ScriptedRuntimeApp struct DispatchIo impl DispatchIo impl Drop for DispatchIo impl ScriptedRuntimeApp impl RuntimeApp for ScriptedRuntimeApp
Functions
By call-graph weight (PageRank; 1.0 is the average function). 55 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_manifestsrc/scripted_app.rs:248 | fn | 225 | 23 | 22 | 3 | 4.9 | |
| load_manifest_app_with_identitysrc/scripted_app.rs:1034 | fn | 56 | 7 | 2 | 5 | 3.6 | |
| load_manifest_app_with_sourcesrc/scripted_app.rs:1030 | fn | 3 | 1 | 3 | 1 | 3.2 | |
| sample_manifest_jsonsrc/scripted_app.rs:1107 | fn | 16 | 1 | 17 | 0 | 2.7 | |
| load_manifest_appsrc/scripted_app.rs:1026 | fn | 3 | 1 | 6 | 1 | 2.5 | |
| ScriptedRuntimeApp::execute_entry_recordedsrc/scripted_app.rs:593 | method | 115 | 11 | 14 | 22 | 2.5 | |
| leak_app_metasrc/scripted_app.rs:476 | fn | 26 | 1 | 12 | 3 | 2.3 | |
| leak_view_definitionssrc/scripted_app.rs:531 | fn | 15 | 1 | 12 | 2 | 2.3 | |
| leak_strsrc/scripted_app.rs:141 | fn | 3 | 1 | 2 | 0 | 2.1 | |
| leak_slicesrc/scripted_app.rs:145 | fn | 3 | 1 | 2 | 0 | 2.1 | |
| load_scripted_appssrc/scripted_app.rs:967 | fn | 58 | 14 | 5 | 4 | 2.1 | |
| ScriptedRuntimeApp::execute_entrysrc/scripted_app.rs:580 | method | 8 | 1 | 2 | 1 | 1.3 | |
| ScriptedRuntimeApp::replay_entrysrc/scripted_app.rs:724 | method | 32 | 2 | 5 | 9 | 1 | |
| ScriptedRuntimeApp::connect_with_connectionsrc/scripted_app.rs:917 | trait impl | 27 | 5 | 1 | 1 | 0.9 | |
| persist_host_transcriptsrc/scripted_app.rs:102 | fn | 7 | 1 | 2 | 1 | 0.8 | |
| persist_scripted_receiptsrc/scripted_app.rs:83 | fn | 13 | 1 | 2 | 3 | 0.7 | |
| source_digestsrc/scripted_app.rs:113 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| scripted_responsesrc/scripted_app.rs:120 | fn | 8 | 2 | 2 | 0 | 0.7 | |
| ScriptedRuntimeApp::run_entrysrc/scripted_app.rs:759 | method | 28 | 2 | 2 | 4 | 0.7 | |
| ScriptedRuntimeApp::vm_receiptsrc/scripted_app.rs:793 | method | 17 | 2 | 2 | 0 | 0.7 | |
| ScriptedRuntimeApp::load_sourcesrc/scripted_app.rs:814 | method | 6 | 2 | 2 | 0 | 0.7 | |
| scripted_apps_from_envsrc/scripted_app.rs:950 | fn | 6 | 1 | 1 | 2 | 0.6 | |
| DispatchIo::entersrc/scripted_app.rs:566 | method | 3 | 1 | 1 | 0 | 0.6 | |
| receipt_chain_namesrc/scripted_app.rs:549 | fn | 8 | 4 | 1 | 0 | 0.6 | |
| DispatchIo::dropsrc/scripted_app.rs:572 | trait impl | 5 | 2 | 0 | 0 | 0.5 | |
| ScriptedRuntimeApp::managed_package_idsrc/scripted_app.rs:823 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ScriptedRuntimeApp::view_definitionssrc/scripted_app.rs:827 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ScriptedRuntimeApp::viewsrc/scripted_app.rs:831 | trait impl | 18 | 2 | 0 | 7 | 0.5 | |
| ScriptedRuntimeApp::metasrc/scripted_app.rs:850 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ScriptedRuntimeApp::bootsrc/scripted_app.rs:860 | trait impl | 43 | 5 | 0 | 2 | 0.5 | |
| ScriptedRuntimeApp::connect_dispatch_onlysrc/scripted_app.rs:907 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ScriptedRuntimeApp::connectsrc/scripted_app.rs:911 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| installed_manifest_and_script_use_the_same_captured_packagesrc/scripted_app.rs:1126 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| managed_instance_keeps_its_package_identity_until_catalog_reloadsrc/scripted_app.rs:1141 | fn | 25 | 1 | 0 | 4 | 0.5 | |
| typed_manifest_version_is_explicit_and_preserves_legacysrc/scripted_app.rs:1168 | fn | 14 | 2 | 0 | 2 | 0.5 | |
| parse_manifest_fills_defaults_and_reads_connectionssrc/scripted_app.rs:1184 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| parse_manifest_reads_capabilities_and_rejects_unknownsrc/scripted_app.rs:1198 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| parse_manifest_reads_package_fields_and_gates_format_revisionsrc/scripted_app.rs:1217 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| parse_manifest_rejects_module_paths_that_escape_the_packagesrc/scripted_app.rs:1239 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| loader_finds_directory_packages_one_level_deepsrc/scripted_app.rs:1248 | fn | 20 | 1 | 0 | 1 | 0.5 | |
| boot_publishes_declared_modules_by_content_addresssrc/scripted_app.rs:1271 | fn | 57 | 1 | 0 | 7 | 0.5 | |
| declared_capabilities_gate_store_slots_at_call_timesrc/scripted_app.rs:1331 | fn | 43 | 1 | 0 | 5 | 0.5 | |
| unhandled_throw_fails_the_dispatchsrc/scripted_app.rs:1377 | fn | 38 | 1 | 0 | 5 | 0.5 | |
| dispatch_sys_io_is_scoped_to_the_dispatchsrc/scripted_app.rs:1418 | fn | 41 | 1 | 0 | 5 | 0.5 | |
| receipt_chain_parses_full_and_compact_and_refuses_the_restsrc/scripted_app.rs:1461 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| receipt_chain_selects_the_step_hash_the_receipt_carriessrc/scripted_app.rs:1478 | fn | 46 | 2 | 0 | 5 | 0.5 | |
| scripted_receipt_persists_and_reads_backsrc/scripted_app.rs:1527 | fn | 28 | 1 | 0 | 4 | 0.5 | |
| parse_manifest_rejects_missing_name_script_or_connectionssrc/scripted_app.rs:1557 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| dispatch_reach_matches_exact_and_wildcardsrc/scripted_app.rs:1565 | fn | 23 | 1 | 0 | 1 | 0.5 | |
| parse_manifest_reads_dispatch_reach_and_rejects_malformedsrc/scripted_app.rs:1590 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| dispatch_host_action_requires_the_dispatch_capabilitysrc/scripted_app.rs:1609 | fn | 42 | 1 | 0 | 5 | 0.5 | |
| dispatch_host_action_enforces_declared_reachsrc/scripted_app.rs:1654 | fn | 43 | 1 | 0 | 5 | 0.5 | |
| scripted_app_meta_drives_the_default_dispatch_surfacesrc/scripted_app.rs:1699 | fn | 33 | 1 | 0 | 6 | 0.5 | |
| scripted_import_by_content_address_round_tripsrc/scripted_app.rs:1735 | fn | 58 | 1 | 0 | 8 | 0.5 | |
| connect_surfaces_the_execution_receiptsrc/scripted_app.rs:1796 | fn | 46 | 2 | 0 | 5 | 0.5 |
Source not readable from this process.