The Emscripten FS
Protected
Optional
Internal
_The last place this file system was mounted
Protected
Internal
_The UUID of the file system.
Readonly
attributesProtected
emThe Emscripten FS
Optional
labelReadonly
nameThe name for this file system. For example, tmpfs for an in memory one
Readonly
typeA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Abstract
createCreate the file at path
with the given options.
Create the file at path
with the given options.
Test whether or not path
exists.
Test whether or not path
exists.
Abstract
linkAbstract
mkdirAbstract
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
Abstract
readdirReads 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
renameAbstract
rmdirAbstract
statRead a file using a stream.
Write a file using stream.
Abstract
syncAbstract
touchModify metadata.
Modify metadata.
Abstract
unlinkAbstract
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
Writes 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
Mounts an Emscripten file system into the ZenFS file system.