Preparing search index...
The search index is not available
nodewox
nodewox
"fs"
open
Function open
open
(
path
:
string
, mode
?:
FileOpenMode
)
:
Promise
<
File
>
打开文件
Returns
文件句柄
Parameters
path:
string
文件路径
Optional
mode:
FileOpenMode
打开模式,默认"r"
Returns
Promise
<
File
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
nodewox
"audio"
"display"
"encdec"
"events"
"fs"
"graphics"
"http"
"math"
"net"
"nodewox"
gpio
i2c
i2s
spi
uart
"sys"
"usb"
File
File
Open
Mode
Metadata
exists
Sync
get
Storage
Status
metadata
mkdir
Sync
mount
open
open
Sync
read
File
read
File
Sync
readdir
readdir
Sync
remove
rename
rmdir
Sync
unmount
打开文件
Returns
文件句柄