Skip to content
1 viewer

rust 1,879,476 · typescript 232,735 · javascript 134,783 · python 22,539 · 6,525 files · digest 168195fc00b0 · built in 13.1 s · crystals off

check_and_commit

cre8_app_budget::policy::check_and_commit

fn · cre8-app-budget · crates/cre8-app-budget/src/policy.rs:87 pub documented

46lines
3cyclomatic
1max nesting
12statements
3? exits
5params
15callers
7callees
2.1 (p95)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitespath · 2 sitespath · 5 sitesname · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitecommit_time_budgetapp-time · cc 4cre8_app_time::connection::commit_time_budgetmaybe_budget_commit_on_subm…app-compute · cc 4cre8_app_compute::package_position::maybe_budget_commit_on_submittask_budget_commit_verdictapp-task · cc 3cre8_app_task::connection::task_budget_commit_verdicthandle_budget_commitapp-budget · cc 1cre8_app_budget::connection::handle_budget_commitproject_parent_with_unavail…app-budget · cc 1cre8_app_budget::policy::tests::project_parent_with_unavailable_store_is_noopcheck_and_commit_durableapp-budget · cc 1cre8_app_budget::policy::check_and_commit_durablecheck_and_commit_succeeds_w…app-budget · cc 1cre8_app_budget::policy::tests::check_and_commit_succeeds_within_headroomcheck_and_commit_rejects_wh…app-budget · cc 1cre8_app_budget::policy::tests::check_and_commit_rejects_when_leaf_fullcheck_and_commit_rejects_wh…app-budget · cc 1cre8_app_budget::policy::tests::check_and_commit_rejects_when_ancestor_fullrecord_realized_under_proje…app-budget · cc 1cre8_app_budget::policy::tests::record_realized_under_projection_releases_headroomrecord_realized_rejects_zer…app-budget · cc 1cre8_app_budget::policy::tests::record_realized_rejects_zero_and_negativerelease_committed_returns_f…app-budget · cc 1cre8_app_budget::policy::tests::release_committed_returns_full_projectedheadroom_returns_min_across…app-budget · cc 1cre8_app_budget::policy::tests::headroom_returns_min_across_chainlongest_prefix_match_winsapp-budget · cc 1cre8_app_budget::policy::tests::longest_prefix_match_winsno_coverage_when_no_matchin…app-budget · cc 1cre8_app_budget::policy::tests::no_coverage_when_no_matching_rootno_match_headroom_and_nonpo…app-budget · cc 1cre8_app_budget::policy::tests::no_match_headroom_and_nonpositive_commit_are_coveredinternal_missing_edges_and_…app-budget · cc 1cre8_app_budget::policy::tests::internal_missing_edges_and_orphan_realize_are_covereddurable_lifecycle_helpers_d…app-budget · cc 1cre8_app_budget::policy::tests::durable_lifecycle_helpers_degrade_to_in_memory_without_protocol_storeref_index_realize_is_o1_loo…app-budget · cc 2cre8_app_budget::policy::tests::ref_index_realize_is_o1_lookup_via_arbitrary_leafcheck_and_commitapp-budget · cc 3cre8_app_budget::policy::check_and_commitnow_msplatform-time · cc 1cre8_platform_time::now_mslock_storeapp-budget · cc 1cre8_app_budget::store::lock_storefind_leaf_lockedapp-budget · cc 8cre8_app_budget::store::find_leaf_lockedmaybe_reset_chain_windows_l…app-budget · cc 2cre8_app_budget::policy::maybe_reset_chain_windows_lockedwalk_ancestor_ids_lockedapp-budget · cc 3cre8_app_budget::store::walk_ancestor_ids_lockedvalidate_commit_preflight_l…app-budget · cc 4cre8_app_budget::policy::validate_commit_preflight_lockedapply_commit_lockedapp-budget · cc 4cre8_app_budget::policy::apply_commit_lockedstoreapp-budget · cc 1cre8_app_budget::store::storelock_budget_storeapp-budget · cc 1cre8_app_budget::store::lock_budget_storecategory_coversapp-budget · cc 5cre8_app_budget::store::category_coversmaybe_reset_one_window_lock…app-budget · cc 6cre8_app_budget::policy::maybe_reset_one_window_locked

Control flow

Source not readable from this process.

Callers 15

Callees 7

Source not readable from this process.