pub fn set_file_source(lua: &Lua, source: Arc<dyn FileSource>)Expand description
Register a FileSource with the given Lua state. Subsequent calls
to fs.read / fs.read_bytes consult this source instead of
reading from disk directly.
pub fn set_file_source(lua: &Lua, source: Arc<dyn FileSource>)Register a FileSource with the given Lua state. Subsequent calls
to fs.read / fs.read_bytes consult this source instead of
reading from disk directly.