Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-social/src/bot/guards.rs

cre8-app-social · module bot::guards · src · 313 lines (225 code, 40 comment) · sha ab859c4089f5583e

Items

struct FakeProvider impl FakeProvider impl SocialBotProvider for FakeProvider

Functions

By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
act_with_guardssrc/bot/guards.rs:33fn423681.5
FakeProvider::idsrc/bot/guards.rs:166trait impl31100.9
FakeProvider::newsrc/bot/guards.rs:156method31400.8
actionsrc/bot/guards.rs:193fn111400.8
guard_envsrc/bot/guards.rs:220fn121410.8
last_audit_forsrc/bot/guards.rs:233fn61410.8
run_blocking_guardssrc/bot/guards.rs:78fn193140.7
record_guarded_action_resultsrc/bot/guards.rs:107fn202130.7
dry_run_resultsrc/bot/guards.rs:128fn91100.7
reserve_bot_action_budgetsrc/bot/guards.rs:98fn82120.6
eventsrc/bot/guards.rs:205fn141100.6
FakeProvider::callssrc/bot/guards.rs:160method31000.5
FakeProvider::is_availablesrc/bot/guards.rs:170trait impl31000.5
FakeProvider::actsrc/bot/guards.rs:174trait impl132000.5
FakeProvider::supported_actionssrc/bot/guards.rs:188trait impl31000.5
dry_run_returns_synthetic_success_without_calling_providersrc/bot/guards.rs:241fn141050.5
successful_action_records_audit_and_future_duplicate_reply_vetosrc/bot/guards.rs:257fn191060.5
provider_failure_records_failure_without_marking_action_successfulsrc/bot/guards.rs:278fn201050.5
kill_switch_blocks_before_safety_budget_throttle_or_provider_callsrc/bot/guards.rs:300fn131050.5

Source not readable from this process.