gausplat_loader::source::file::files

Type Alias Files

source
pub type Files<S> = IndexMap<PathBuf, File<S>>;
Expand description

A map of File::path to File.

Aliased Type§

struct Files<S> { /* private fields */ }

Trait Implementations§

source§

impl Opener for Files<File>

source§

fn open(pattern: impl AsRef<Path>) -> Result<Self, Error>

Opening all files matching the glob pattern.

§Examples
use gausplat_loader::source::file::{Files, Opener};

let files = Files::open("examples/data/hello-world/*").unwrap();
assert!(!files.is_empty());