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

Node fs.lstat function | API Reference | Bun

Node fs.lstat function | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/lstatNlstat

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/lstatNlstat

namespace

fs.lstatfunction lstat(path: PathLike,callback: (err: null | ErrnoException, stats: Stats) => void): void;

Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

See the POSIX lstat(2) documentation for more details.

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

Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

See the POSIX lstat(2) documentation for more details.

function lstat(path: PathLike,options: StatOptions & { bigint: true },callback: (err: null | ErrnoException, stats: BigIntStats) => void): void;

Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

See the POSIX lstat(2) documentation for more details.

function lstat(path: PathLike,options: undefined | StatOptions,callback: (err: null | ErrnoException, stats: Stats | BigIntStats) => void): void;

Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

See the POSIX lstat(2) documentation for more details.

namespace lstat

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.lstat function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for namespace node:fs.lstat | Bun