Creates a virtual file system for managing files only (no directories). This file system is entirely in-memory and does not interact with the host file system.
The root directory for the virtual file system.
The initial structure of the in-memory file system. Default is an empty object.
If true, prevents write operations. Default is true.
A VirtualFileSystem instance for managing in-memory files.
Creates a virtual file system for managing files only (no directories). This file system is entirely in-memory and does not interact with the host file system.