1use crate::types::{errors::Result, safepath::SafePath};
23pub trait PathResolver {
4/// Resolve a binary name to a `SafePath`.
5 /// # Errors
6 /// Returns an error if the binary cannot be resolved to a safe path.
7fn resolve(&self, bin: &str) -> Result<SafePath>;
8}