温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/fs/statfs
点击访问原文链接

Node fs.statfs function | API Reference | Bun

Node fs.statfs function | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/statfsNstatfs

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/statfsNstatfs

namespace

fs.statfsfunction statfs(path: PathLike,callback: (err: null | ErrnoException, stats: StatsFs) => void): void;

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.

In case of an error, the err.code will be one of Common System Errors.

@param path

A path to an existing file or directory on the file system to be queried.

function statfs(path: PathLike,options: undefined | StatFsOptions & { bigint: false },callback: (err: null | ErrnoException, stats: StatsFs) => void): void;

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.

In case of an error, the err.code will be one of Common System Errors.

@param path

A path to an existing file or directory on the file system to be queried.

function statfs(path: PathLike,options: StatFsOptions & { bigint: true },callback: (err: null | ErrnoException, stats: BigIntStatsFs) => void): void;

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.

In case of an error, the err.code will be one of Common System Errors.

@param path

A path to an existing file or directory on the file system to be queried.

function statfs(path: PathLike,options: undefined | StatFsOptions,callback: (err: null | ErrnoException, stats: StatsFs | BigIntStatsFs) => void): void;

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.

In case of an error, the err.code will be one of Common System Errors.

@param path

A path to an existing file or directory on the file system to be queried.

namespace statfs

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Node fs.statfs function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for namespace node:fs.statfs | Bun