pub trait PathResolver: Send + Sync {
// Required method
fn resolve(&self, path: &str) -> Result<PathBuf, ToolError>;
}Expand description
Strategy for resolving and validating file paths.
Implementations control whether paths must be absolute, relative to allowed directories, or follow other constraints.