Internal
Protected
_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.
Readonly
attributesProtected
Readonly
disableReadonly
indexOptional
labelReadonly
nameThe name for this file system. For example, tmpfs for an in memory one
Protected
Readonly
rootReadonly
typeA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Protected
Optional
_Protected
_Protected
createCreate the file at path
with the given options.
Abstract
createCreate the file at path
with the given options.
Test whether or not path
exists.
Test whether or not path
exists.
Protected
getAbstract
linkAbstract
mkdirUse 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
Abstract
readdirAbstract
readReads 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
Protected
removeProtected
removeAbstract
renameAbstract
rmdirAbstract
statRead a file using a stream.
Write a file using stream.
Abstract
syncModify metadata.
Abstract
touchModify metadata.
Modify metadata.
Abstract
unlinkWrites 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
Abstract
writeWrites 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()
\