resolve_paths#

rojak.core.sources.resolve_paths(location)[source]#

Resolve a file-based location into the (sorted, for FilesLocation) list of files to open

Parameters:

location (FilesLocation | TemplateLocation) – Location to resolve

Returns:

Local paths, or protocol-qualified URLs for remote filesystems

Raises:

FileNotFoundError – If no files are found, or (with on_missing="raise") a templated file is missing

Return type:

list[str]