Skip to main content

open_file_scoped

Function open_file_scoped 

Source
pub fn open_file_scoped(uri_str: &str) -> Result<Box<dyn BytesSource>>
Expand description

Free-function opener compatible with SourceRegistry::register_bytes. Looks up the active scope and delegates. If no scope is installed, every call errors — install via FileScope::register_into first.