statSync (path). 如果在呼叫 fs.open() , fs.readFile() , fs.writeFile() 前想要先檢驗檔案是否存在時,並不建議使用 fs.state() 方法,而是應該 ...
確定! 回上一頁