formatted

This commit is contained in:
Zxilly 2025-02-18 23:11:09 +08:00
parent 0e22316665
commit a0160e8fc8
No known key found for this signature in database
GPG Key ID: 47AB1DEC841BC6A2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ var (
nodeTRUNC = constants.Get("O_TRUNC").Int() nodeTRUNC = constants.Get("O_TRUNC").Int()
nodeAPPEND = constants.Get("O_APPEND").Int() nodeAPPEND = constants.Get("O_APPEND").Int()
nodeEXCL = constants.Get("O_EXCL").Int() nodeEXCL = constants.Get("O_EXCL").Int()
// NodeJS on Windows does not support O_DIRECTORY, so we default // NodeJS on Windows does not support O_DIRECTORY, so we default
// to -1 and assign it in init if available. // to -1 and assign it in init if available.
// See https://nodejs.org/docs/latest/api/fs.html#file-open-constants. // See https://nodejs.org/docs/latest/api/fs.html#file-open-constants.