Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.
statfs(2)
path
(err, stats)
stats
fs.StatFs
In case of an error, the err.code will be one of Common System Errors.
err.code
Common System Errors
A path to an existing file or directory on the file system to be queried.
v19.6.0, v18.15.0
Generated using TypeDoc
Asynchronous
statfs(2)
. Returns information about the mounted file system which containspath
. The callback gets two arguments(err, stats)
wherestats
is anfs.StatFs
object.In case of an error, the
err.code
will be one ofCommon System Errors
.