Struct asset_lru::FilesystemVfs [−][src]
pub struct FilesystemVfs { /* fields omitted */ }
Expand description
A VFS which is backed by a given root directory.
This handles the rather tricky path cases around Windows and Linux differences, and makes it so that you can and
should use keys like /b/c
(behavior with \
is undefined). Additionally, it makes a best effort to disallow a
user to use relative paths to escape the root directory, primarily as a measure to detect bugs.