Documentation Index
Fetch the complete documentation index at: https://bun.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
Bun.file() 函数接受一个路径并返回一个 BunFile 实例。使用 .exists() 方法可以检查给定路径下的文件是否存在。
有关使用
BunFile 的更多信息,请参见 API > 文件 I/O。