Expand description
Probe — introspection for the deployed state.
Today this module provides two read-only views over <data_dir>:
deployment_map— thepack / handler / source / deployedmap thatdodot refresh(seedocs/proposals/magic.lex) also consumes. Written alongside the shell init script on everyupanddown.data_dir_tree— a bounded-depth tree walk fordodot probe show-data-dir.
See docs/proposals/profiling.lex for the full feature spec. A
later phase will add shell-init timing reports under
<data_dir>/probes/shell-init/; that state lives in a sibling
submodule when it lands.
Re-exports§
pub use data_dir_tree::collect_data_dir_tree;pub use data_dir_tree::TreeNode;pub use deployment_map::collect_deployment_map;pub use deployment_map::read_deployment_map;pub use deployment_map::write_deployment_map;pub use deployment_map::DeploymentKind;pub use deployment_map::DeploymentMapEntry;pub use last_up::read_last_up_marker;pub use last_up::write_last_up_marker;pub use shell_init::aggregate_profiles;pub use shell_init::group_profile;pub use shell_init::parse_profile;pub use shell_init::read_latest_profile;pub use shell_init::read_recent_profiles;pub use shell_init::rotate_profiles;pub use shell_init::summarize_history;pub use shell_init::AggregatedTarget;pub use shell_init::AggregatedView;pub use shell_init::GroupedProfile;pub use shell_init::HistoryEntry;pub use shell_init::Profile;pub use shell_init::ProfileEntry;pub use shell_init::ProfileGroup;
Modules§
- brew
- Homebrew-cask probe — advisory lookup of cask metadata.
- data_
dir_ tree - Tree walk of
<data_dir>fordodot probe show-data-dir. - deployment_
map - The deployment map.
- last_up
- Last-up marker — records the unix timestamp of the most recent
successful
dodot upto<data_dir>/last-up-at. - macos_
native - macOS-native metadata probes:
mdlsandmdfind. - shell_
init - Shell-init profile reader, aggregator, and rotation.