Preparing search index...
The search index is not available
nodewox
nodewox
"fs"
getStorageStatus
Function getStorageStatus
get
Storage
Status
(
path
:
string
)
:
{
total
:
number
;
used
:
number
;
}
|
null
返回文件系统使用情况
Returns
返回对象包含总容量和已使用容量属性。如果文件卷不支持容量计算,返回null
Parameters
path:
string
挂载路径
Returns
{
total
:
number
;
used
:
number
;
}
|
null
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
返回对象包含总容量和已使用容量属性。如果文件卷不支持容量计算,返回null