An FS wrapper class for blocking operations that would modify the FS.
Makes a FS object read only. Any operation that could potentially modify the underlying file system will throw an UnsupportedError
Note that this isn’t a secure sandbox, untrusted code could work around the read-only restrictions by getting the base class. Its main purpose is to provide a degree of safety if you want to protect an FS object from accidental modification.
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Doesn’t technically modify the filesystem but could be used to work around read-only restrictions.
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Only permit read access
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system
Replacement method for methods that can modify the file system