dir[Symbol.dispose]()


如果目录句柄已打开,则调用 dir.closeSync(),并返回 undefined

¥Calls dir.closeSync() if the directory handle is open, and returns undefined.