Skip to main content
Bun.file() 函数接受一个路径并返回 BunFile 实例。使用 .exists() 方法检查给定路径的文件是否存在。
index.ts

参见 文件 I/O 了解如何使用 BunFile