Search
Preparing search index...
The search index is not available
BrowserFS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"backend/Emscripten"
EmscriptenFile
Class EmscriptenFile
Hierarchy
BaseFile
EmscriptenFile
Implements
File
Index
Constructors
constructor
Methods
chmod
chmod
Sync
chown
chown
Sync
close
close
Sync
datasync
datasync
Sync
get
Pos
read
read
Sync
stat
stat
Sync
sync
sync
Sync
truncate
truncate
Sync
utimes
utimes
Sync
write
write
Sync
Constructors
constructor
new
Emscripten
File
(
_fs
:
EmscriptenFileSystem
, _FS
:
any
, _path
:
string
, _stream
:
any
)
:
EmscriptenFile
Parameters
_fs:
EmscriptenFileSystem
_FS:
any
_path:
string
_stream:
any
Returns
EmscriptenFile
Methods
chmod
chmod
(
mode
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
mode:
number
cb:
BFSOneArgCallback
Returns
void
chmod
Sync
chmod
Sync
(
mode
:
number
)
:
void
Parameters
mode:
number
Returns
void
chown
chown
(
uid
:
number
, gid
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
uid:
number
gid:
number
cb:
BFSOneArgCallback
Returns
void
chown
Sync
chown
Sync
(
uid
:
number
, gid
:
number
)
:
void
Parameters
uid:
number
gid:
number
Returns
void
close
close
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
close
Sync
close
Sync
(
)
:
void
Returns
void
datasync
datasync
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
datasync
Sync
datasync
Sync
(
)
:
void
Returns
void
get
Pos
get
Pos
(
)
:
number
|
undefined
Returns
number
|
undefined
read
read
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
, cb
:
BFSThreeArgCallback
<
number
,
Buffer
>
)
:
void
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
cb:
BFSThreeArgCallback
<
number
,
Buffer
>
Returns
void
read
Sync
read
Sync
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
|
null
)
:
number
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
|
null
Returns
number
stat
stat
(
cb
:
BFSCallback
<
Stats
>
)
:
void
Parameters
cb:
BFSCallback
<
Stats
>
Returns
void
stat
Sync
stat
Sync
(
)
:
Stats
Returns
Stats
sync
sync
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
sync
Sync
sync
Sync
(
)
:
void
Returns
void
truncate
truncate
(
len
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
len:
number
cb:
BFSOneArgCallback
Returns
void
truncate
Sync
truncate
Sync
(
len
:
number
)
:
void
Parameters
len:
number
Returns
void
utimes
utimes
(
atime
:
Date
, mtime
:
Date
, cb
:
BFSOneArgCallback
)
:
void
Parameters
atime:
Date
mtime:
Date
cb:
BFSOneArgCallback
Returns
void
utimes
Sync
utimes
Sync
(
atime
:
Date
, mtime
:
Date
)
:
void
Parameters
atime:
Date
mtime:
Date
Returns
void
write
write
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
, cb
:
BFSThreeArgCallback
<
number
,
Buffer
>
)
:
void
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
cb:
BFSThreeArgCallback
<
number
,
Buffer
>
Returns
void
write
Sync
write
Sync
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
|
null
)
:
number
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
|
null
Returns
number
Globals
"backend/
Emscripten"
Emscripten
File
constructor
chmod
chmod
Sync
chown
chown
Sync
close
close
Sync
datasync
datasync
Sync
get
Pos
read
read
Sync
stat
stat
Sync
sync
sync
Sync
truncate
truncate
Sync
utimes
utimes
Sync
write
write
Sync
Emscripten
File
System
Emscripten
File
System
Options
Generated using
TypeDoc