pub enum ProbeResult {
Summary {
data_dir: String,
available: Vec<ProbeSubcommandInfo>,
},
DeploymentMap {
data_dir: String,
map_path: String,
entries: Vec<DeploymentDisplayEntry>,
},
ShowDataDir {
data_dir: String,
lines: Vec<TreeLine>,
total_nodes: usize,
total_size: u64,
},
ShellInit(ShellInitView),
ShellInitAggregate(ShellInitAggregateView),
ShellInitHistory(ShellInitHistoryView),
ShellInitFilter(ShellInitFilterView),
ShellInitErrors(ShellInitErrorsView),
App(AppProbeView),
}Expand description
Result of any probe invocation. Serialises with a kind tag so
the Jinja template can dispatch on it.
Variants§
Summary
dodot probe with no subcommand — a summary pointing the user
at the real subcommands.
DeploymentMap
dodot probe deployment-map — the source↔deployed map.
ShowDataDir
dodot probe show-data-dir — a bounded tree view of
<data_dir>.
Fields
ShellInit(ShellInitView)
dodot probe shell-init — the most recent shell-startup profile,
grouped by pack and handler.
ShellInitAggregate(ShellInitAggregateView)
dodot probe shell-init --runs N — per-target percentile stats
across the last N runs.
ShellInitHistory(ShellInitHistoryView)
dodot probe shell-init --history — one summary line per recent
run, newest first (matches every other dated listing in the tool;
the user can pipe through tac if they want the inverse).
ShellInitFilter(ShellInitFilterView)
dodot probe shell-init <pack>[/<file>] — drill-down view of
one target (or one pack) across recent runs. Emits per-run
duration, exit status, and captured stderr (when any) so the
user can pinpoint what a failing source file printed.
ShellInitErrors(ShellInitErrorsView)
dodot probe shell-init --errors-only — every target with at
least one non-zero exit across the examined window, grouped by
target and sorted by failure count (most-broken first).
App(AppProbeView)
dodot probe app <pack> — advisory introspection of macOS
app-support paths for a single pack: which folder names this
pack will route to, whether they exist, matching homebrew cask
metadata, and .app bundle / bundle-id pairs from Spotlight.
See docs/proposals/macos-paths.lex §8.4.
Trait Implementations§
Source§impl Clone for ProbeResult
impl Clone for ProbeResult
Source§fn clone(&self) -> ProbeResult
fn clone(&self) -> ProbeResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more