InternalProtected_Used to speed up handle lookups. Without this, every lookup would be O(n) on the path length. With the cache, these become O(1) operations.
Protected Optional Internal_The last place this file system was mounted
Protected Internal_The UUID of the file system.
ReadonlyattributesProtected ReadonlydisableReadonlyindexOptionallabelReadonlynameThe name for this file system. For example, tmpfs for an in memory one
Protected ReadonlyrootReadonlytypeA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Protected Optional_Protected_ProtectedcreateCreate the file at path with the given options.
AbstractcreateCreate the file at path with the given options.
Test whether or not path exists.
Test whether or not path exists.
ProtectedgetAbstractlinkAbstractmkdirUse sync instead
Reads into a buffer
The buffer to read into. You must set the byteOffset and byteLength appropriately!
The position in the file to stop reading
AbstractreaddirAbstractreadReads into a buffer
The buffer to read into. You must set the byteOffset and byteLength appropriately!
The offset into the file to start reading from
The position in the file to stop reading
ProtectedremoveProtectedremoveAbstractrenameAbstractrmdirAbstractstatRead a file using a stream.
Write a file using stream.
AbstractsyncModify metadata.
AbstracttouchModify metadata.
Modify metadata.
AbstractunlinkWrites a buffer to a file
The buffer to write. You must set the byteOffset and byteLength appropriately!
The offset in the file to start writing
AbstractwriteWrites a buffer to a file
The buffer to write. You must set the byteOffset and byteLength appropriately!
The offset in the file to start writing
Todo
Consider supporting synchronous stuff with
FileSystemFileHandle.createSyncAccessHandle()\