pub trait ImportResolver {
// Required method
fn resolve_import(
&self,
cwd: &Path,
relpath: &Path,
) -> Result<String, String>;
}Expand description
A trait for types which can resolve filesystem-like paths relative to a given directory.