patholog 1.0.0

Diagnose, explain, clean, and safely repair PATH behavior.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{Diagnostic, PathEntry, PathVariable};

/// Path-like environment variable health report.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct DoctorReport {
    /// Path-like variable being diagnosed.
    pub variable: PathVariable,
    /// Parsed path-like variable entries.
    pub entries: Vec<PathEntry>,
    /// Diagnostics emitted for the entries.
    pub diagnostics: Vec<Diagnostic>,
}