Function transit_model::gtfs::read

source ·
pub fn read<P: AsRef<Path>>(p: P) -> Result<Model>
Expand description

Imports a Model from the GTFS. files in the given directory. This method will try to detect if the input is a zipped archive or not. If the default file type mechanism is not enough, you can use from_zip or from_dir.