pub trait ModelLoaderApiRepo {
// Required method
fn get(&self, filename: &str) -> Result<PathBuf, ApiError>;
}
Expand description
ModelLoaderApiRepo
is a trait that abstracts the repository API methods.
It provides a single method get
that retrieves a file from the repository.
This trait is used for dependency injection and testing purposes.