import { unlink } from 'fs/promises'; try { await unlink('/tmp/hello'); ... readFile() 调用,则将从当前位置读取数据,直到文件末尾。 它并不总是从文件的开头读 ...
確定! 回上一頁