Skip to content
1 viewer

rust 1,865,587 · typescript 236,264 · javascript 133,447 · python 20,429 · 6,423 files · digest 6c224c8775d8 · built in 1.4 s · crystals off

check_caps

cre8_app_manifold::rules::check_caps

fn · cre8-app-manifold · crates/cre8-app-manifold/src/rules.rs:535 pub documented

55lines
6cyclomatic
2max nesting
18statements
0? exits
7params
12callers
3callees
2.3 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

self · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 2 sitesname · 2 sitesname · 3 sitesname · 1 sitename · 3 sitesname · 2 sitesname · 2 sitesmethod · 1 sitename · 1 sitemethod · 1 siteself · 1 siteManifoldLedger::apply_flowapp-manifold · cc 1cre8_app_manifold::ledger::ManifoldLedger::apply_flowcheck_manifold_cap_preflightapp-metering · cc 3cre8_app_metering::preflight::check_manifold_cap_preflightempty_estimate_passes_trivi…app-metering · cc 1cre8_app_metering::budget_policy::tests::empty_estimate_passes_triviallyestimate_under_cap_passesapp-metering · cc 1cre8_app_metering::budget_policy::tests::estimate_under_cap_passesestimate_over_cap_deniesapp-metering · cc 2cre8_app_metering::budget_policy::tests::estimate_over_cap_deniesmissing_manifold_for_estima…app-metering · cc 1cre8_app_metering::budget_policy::tests::missing_manifold_for_estimated_asset_errorszero_amount_skipped_silentlyapp-metering · cc 1cre8_app_metering::budget_policy::tests::zero_amount_skipped_silentlyMeteredCaller::callapp-metering · cc 4cre8_app_metering::metered_caller::MeteredCaller::callcheck_budgetapp-metering · cc 6cre8_app_metering::budget_policy::check_budgetrun_check_genericapp-metering · cc 1cre8_app_metering::preflight::run_check_genericManifoldLedger::check_flow_…app-manifold · cc 3cre8_app_manifold::ledger::ManifoldLedger::check_flow_capsoverlapping_5h_and_1w_capsapp-manifold · cc 1cre8_app_manifold::rules::tests::overlapping_5h_and_1w_capsweekly_cap_blocks_after_bur…app-manifold · cc 1cre8_app_manifold::rules::tests::weekly_cap_blocks_after_burst_window_slidesmint_direction_cap_throttle…app-manifold · cc 1cre8_app_manifold::rules::tests::mint_direction_cap_throttles_accrual_sideper_role_scope_applies_only…app-manifold · cc 1cre8_app_manifold::rules::tests::per_role_scope_applies_only_to_membersattribute_scope_groups_peer…app-manifold · cc 4cre8_app_manifold::rules::tests::attribute_scope_groups_peers_sharing_valueglobal_scope_shared_across_…app-manifold · cc 2cre8_app_manifold::rules::tests::global_scope_shared_across_all_peerspattern_asset_paths_match_c…app-manifold · cc 1cre8_app_manifold::rules::tests::pattern_asset_paths_match_concrete_assetliteral_asset_paths_still_m…app-manifold · cc 1cre8_app_manifold::rules::tests::literal_asset_paths_still_match_after_pattern_upgradezero_and_negative_pending_a…app-manifold · cc 1cre8_app_manifold::rules::tests::zero_and_negative_pending_are_always_allowedcheck_capsapp-manifold · cc 6cre8_app_manifold::rules::check_capsAssetRef::matches_patternruntime-contracts · cc 1cre8_runtime_contracts::asset_ref::AssetRef::matches_patternscope_keyapp-manifold · cc 5cre8_app_manifold::rules::scope_keyFlowHistory::sum_in_windowapp-manifold · cc 2cre8_app_manifold::rules::FlowHistory::sum_in_windowAssetRef::bind_patternruntime-contracts · cc 1cre8_runtime_contracts::asset_ref::AssetRef::bind_pattern

Control flow

Source not readable from this process.

Callers 12

Callees 3

Source not readable from this process.