Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off

validate_choice_compatibility

cre8_app_proposal::policy::validate_choice_compatibility

fn · cre8-app-proposal · crates/cre8-app-proposal/src/policy.rs:191

19lines
4cyclomatic
1max nesting
3statements
0? exits
3params
1callers
1callees
0.9 (p73)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 2 sitesname · 3 sitesname · 2 sitesname · 1 sitename · 1 sitename · 3 sitesname · 3 sitesname · 3 sitesname · 1 sitename · 1 sitevote_durableapp-proposal · cc 2cre8_app_proposal::persistence::vote_durablevote_rejects_when_not_openapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_rejects_when_not_openvote_overwrites_on_changeapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_overwrites_on_changesimple_majority_passes_with…app-proposal · cc 1cre8_app_proposal::policy::tests::simple_majority_passes_with_quorum_and_thresholdabstentions_dont_count_towa…app-proposal · cc 1cre8_app_proposal::policy::tests::abstentions_dont_count_toward_threshold_denominatorratify_returns_mutation_and…app-proposal · cc 1cre8_app_proposal::policy::tests::ratify_returns_mutation_and_closesratify_twice_rejectsapp-proposal · cc 1cre8_app_proposal::policy::tests::ratify_twice_rejectssupermajority_requires_two_…app-proposal · cc 1cre8_app_proposal::policy::tests::supermajority_requires_two_thirdsunanimous_requires_all_yesapp-proposal · cc 1cre8_app_proposal::policy::tests::unanimous_requires_all_yesapproval_winning_option_ret…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_winning_option_returns_its_mutation_on_ratifyvoteapp-proposal · cc 3cre8_app_proposal::policy::votevalidate_choice_compatibili…app-proposal · cc 4cre8_app_proposal::policy::validate_choice_compatibilityvalidate_approval_labelsapp-proposal · cc 2cre8_app_proposal::policy::validate_approval_labels

Control flow

Source not readable from this process.

Callers 1

  • vote app-proposal · name

Callees 1

Source not readable from this process.