pub struct AppProbeEntry {
pub folder: String,
pub target_path: String,
pub target_exists: bool,
pub source_rule: String,
pub cask: Option<String>,
pub app_bundle: Option<String>,
pub bundle_id: Option<String>,
}Expand description
One row per app-support folder a pack will deploy to.
Fields§
§folder: StringThe destination folder name, e.g. "Code".
target_path: String<app_support_dir>/<folder>/ path. Always populated, even when
the folder doesn’t exist on disk — the renderer shortens to
~/... for display.
target_exists: boolWhether target_path exists on the local filesystem.
source_rule: StringSource rule that produced this folder: "alias", "force_app",
or "_app/". Drives display.
cask: Option<String>Matching homebrew cask token, when found. Always an
installed cask (matching only iterates brew list --cask --versions); a Some value implies “installed”. A None
value means either no installed cask declared this folder in
its zap stanza, or we’re not on macOS.
app_bundle: Option<String>.app bundle name derived from cask metadata, e.g.
"Visual Studio Code.app".
bundle_id: Option<String>kMDItemCFBundleIdentifier for the .app bundle, when
resolvable via mdls.
Trait Implementations§
Source§impl Clone for AppProbeEntry
impl Clone for AppProbeEntry
Source§fn clone(&self) -> AppProbeEntry
fn clone(&self) -> AppProbeEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more