1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-platform-process/src/registry.rs
Items
const HISTORY_CAP const COMMAND_DISPLAY_LIMIT const REDACTED_COMMAND_VALUE const ENV_SESSION_ID const ENV_AGENT_ID enum ProcessStatus struct ProcessRecord struct ProcessRegistrySnapshot struct ProcessRegistry struct RegistryInner static GLOBAL struct ScopedAgentRestore impl Drop for ScopedAgentRestore static CACHE struct CommandTokenRedaction impl CommandTokenRedaction impl ProcessRegistry struct TrackedChild impl TrackedChild impl Drop for TrackedChild
Functions
By call-graph weight (PageRank; 1.0 is the average function). 68 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| command_token_is_sensitivesrc/registry.rs:292 | fn | 27 | 4 | 2 | 0 | 1.9 | |
| current_identitysrc/registry.rs:174 | fn | 6 | 1 | 5 | 0 | 1.8 | |
| globalsrc/registry.rs:114 | fn | 3 | 1 | 11 | 0 | 1.7 | |
| TrackedChild::record_statussrc/registry.rs:617 | method | 6 | 2 | 3 | 3 | 1.6 | |
| scoped_agent_account_idsrc/registry.rs:167 | fn | 3 | 1 | 5 | 0 | 1.5 | |
| redact_command_tokensrc/registry.rs:259 | fn | 15 | 4 | 1 | 4 | 1.5 | |
| enter_agent_account_scopesrc/registry.rs:146 | fn | 6 | 2 | 1 | 0 | 1.2 | |
| ProcessRegistry::finalizesrc/registry.rs:346 | method | 8 | 2 | 4 | 5 | 1.2 | |
| truncate_command_displaysrc/registry.rs:223 | fn | 11 | 4 | 2 | 0 | 1.2 | |
| redact_sensitive_commandsrc/registry.rs:235 | fn | 12 | 2 | 2 | 1 | 1.2 | |
| spawn_tracked_with_agentsrc/registry.rs:566 | fn | 31 | 1 | 1 | 8 | 1.2 | |
| tracked_output_with_agentsrc/registry.rs:489 | fn | 67 | 2 | 2 | 11 | 1.1 | |
| format_commandsrc/registry.rs:215 | fn | 7 | 1 | 4 | 2 | 1.1 | |
| trim_nonemptysrc/registry.rs:189 | fn | 3 | 1 | 2 | 0 | 1 | |
| exit_process_statussrc/registry.rs:208 | fn | 6 | 2 | 2 | 0 | 1 | |
| ProcessRegistry::snapshotsrc/registry.rs:355 | method | 17 | 1 | 6 | 2 | 0.9 | |
| output_process_statussrc/registry.rs:201 | fn | 6 | 2 | 2 | 0 | 0.9 | |
| echo_cmdsrc/registry.rs:685 | fn | 14 | 1 | 6 | 0 | 0.9 | |
| TrackedChild::waitsrc/registry.rs:624 | method | 7 | 1 | 5 | 2 | 0.9 | |
| TrackedChild::idsrc/registry.rs:609 | method | 3 | 1 | 4 | 0 | 0.8 | |
| with_agent_account_idsrc/registry.rs:159 | fn | 4 | 1 | 3 | 1 | 0.8 | |
| CommandTokenRedaction::newsrc/registry.rs:254 | method | 3 | 1 | 1 | 0 | 0.8 | |
| redact_inline_sensitive_assignmentsrc/registry.rs:275 | fn | 5 | 1 | 1 | 1 | 0.8 | |
| command_token_starts_sensitive_valuesrc/registry.rs:281 | fn | 3 | 2 | 1 | 1 | 0.8 | |
| redact_command_token_valuesrc/registry.rs:285 | fn | 6 | 3 | 1 | 0 | 0.8 | |
| local_session_idsrc/registry.rs:193 | fn | 5 | 1 | 1 | 1 | 0.8 | |
| ProcessRegistry::insert_activesrc/registry.rs:326 | method | 19 | 1 | 3 | 1 | 0.8 | |
| spawn_trackedsrc/registry.rs:560 | fn | 3 | 1 | 5 | 1 | 0.8 | |
| TrackedChild::record_idsrc/registry.rs:613 | method | 3 | 1 | 5 | 0 | 0.8 | |
| TrackedChild::wait_with_outputsrc/registry.rs:632 | method | 7 | 1 | 3 | 2 | 0.7 | |
| ProcessRegistry::next_idsrc/registry.rs:321 | method | 4 | 1 | 2 | 0 | 0.7 | |
| resolve_identitysrc/registry.rs:181 | fn | 7 | 2 | 1 | 2 | 0.7 | |
| tracked_outputsrc/registry.rs:481 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| remove_active_recordsrc/registry.rs:410 | fn | 4 | 1 | 1 | 0 | 0.7 | |
| complete_process_recordsrc/registry.rs:415 | fn | 4 | 1 | 1 | 0 | 0.7 | |
| emit_finalized_process_recordsrc/registry.rs:420 | fn | 9 | 4 | 1 | 4 | 0.7 | |
| push_history_recordsrc/registry.rs:470 | fn | 6 | 2 | 1 | 0 | 0.7 | |
| TrackedChild::killsrc/registry.rs:660 | method | 6 | 2 | 3 | 0 | 0.7 | |
| TrackedChild::detach_with_waitersrc/registry.rs:645 | method | 14 | 1 | 2 | 6 | 0.7 | |
| finalized_duration_mssrc/registry.rs:430 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| emit_exited_process_recordsrc/registry.rs:434 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| emit_nonzero_process_recordsrc/registry.rs:446 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| emit_failed_process_recordsrc/registry.rs:458 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| exit_cmdsrc/registry.rs:700 | fn | 14 | 1 | 1 | 0 | 0.6 | |
| scoped_account_valuesrc/registry.rs:730 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| scoped_empty_valuesrc/registry.rs:735 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| sleeper_cmdsrc/registry.rs:715 | fn | 14 | 1 | 2 | 0 | 0.6 | |
| test_recordsrc/registry.rs:739 | fn | 14 | 1 | 1 | 0 | 0.6 | |
| TrackedChild::child_mutsrc/registry.rs:605 | method | 3 | 1 | 1 | 0 | 0.5 | |
| ProcessRegistry::snapshot_for_agentsrc/registry.rs:378 | method | 30 | 1 | 1 | 2 | 0.5 | |
| ScopedAgentRestore::dropsrc/registry.rs:138 | trait impl | 6 | 2 | 0 | 0 | 0.5 | |
| TrackedChild::dropsrc/registry.rs:669 | trait impl | 9 | 2 | 0 | 1 | 0.5 | |
| tracked_output_records_active_then_historysrc/registry.rs:755 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| spawn_tracked_finalizes_on_waitsrc/registry.rs:767 | fn | 9 | 1 | 0 | 6 | 0.5 | |
| spawn_tracked_exposes_child_and_wait_with_outputsrc/registry.rs:778 | fn | 13 | 1 | 0 | 8 | 0.5 | |
| spawn_tracked_drop_and_kill_finalize_recordssrc/registry.rs:793 | fn | 16 | 1 | 0 | 8 | 0.5 | |
| tracked_output_records_spawn_failure_and_nonzero_exitsrc/registry.rs:811 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| scoped_agent_id_applies_restores_and_survives_panicsrc/registry.rs:826 | fn | 16 | 1 | 0 | 4 | 0.5 | |
| snapshot_for_agent_filters_active_and_history_recordssrc/registry.rs:844 | fn | 18 | 1 | 0 | 10 | 0.5 | |
| detach_with_waiter_records_eventual_exitsrc/registry.rs:864 | fn | 17 | 3 | 0 | 6 | 0.5 | |
| local_registry_finalize_handles_running_status_and_history_capsrc/registry.rs:883 | fn | 28 | 2 | 0 | 5 | 0.5 | |
| current_identity_is_stablesrc/registry.rs:913 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| command_format_redacts_sensitive_valuessrc/registry.rs:920 | fn | 22 | 1 | 0 | 2 | 0.5 | |
| command_format_truncates_on_utf8_boundarysrc/registry.rs:944 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| process_status_helpers_capture_wait_errorssrc/registry.rs:959 | fn | 11 | 1 | 0 | 0 | 0.5 | |
| consumed_tracked_child_methods_report_errorssrc/registry.rs:972 | fn | 11 | 1 | 0 | 4 | 0.5 | |
| resolve_identity_covers_trimmed_empty_and_local_fallback_pathssrc/registry.rs:990 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| empty_agent_account_id_runs_without_setting_thread_local_scopesrc/registry.rs:1004 | fn | 4 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.