mirror of https://github.com/golang/go.git
formatted
This commit is contained in:
parent
0e22316665
commit
a0160e8fc8
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue