本页还没有译文
本页 3 段还没译成한국어,下面显示的是英文原文。Delete files
还没翻译译自英文(bun.com)本页 3 段都还没译
To delete a file, use Bun.file(path).delete().
// Delete a file
const file = Bun.file("path/to/file.txt");
await file.delete();
// Now the file doesn't exist
const exists = await file.exists();
// => falseSee File I/O for more filesystem operations.
AI 翻译查看英文原文