Internal
Protected
Optional
Internal
_mountThe last place this file system was mounted
Readonly
attributesProtected
baseReadonly
idA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Readonly
indexOptional
labelReadonly
nameThe name for this file system. For example, tmpfs for an in memory one
Protected
Optional
remoteProtected
requestProtected
_asyncProtected
_removeProtected
createCreate the file at path
with the given options. Then, open it with flag
.
Create the file at path
with the given options. Then, open it with flag
.
Test whether or not path
exists.
Test whether or not path
exists.
Opens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Opens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Reads 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
Reads 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
removeProtected
Optional
syncOptional hook for implementations to support updating metadata
Protected
Optional
syncOptional hook for implementations to support updating metadata
Optional
data: Uint8Array<ArrayBufferLike>Optional
stats: Readonly<InodeLike>Writes a buffer to a file
The offset in the file to start writing
Writes a buffer to a file
The offset in the file to start writing
A simple filesystem backed by HTTP using the
fetch
API.