dir.closeSync()


同步关闭目录的底层资源句柄。后续的读取操作将导致错误。

【Synchronously close the directory's underlying resource handle. Subsequent reads will result in errors.】