const os.O_EXCL
5 uses
os (current package)
file.go#L79: O_EXCL int = syscall.O_EXCL // used with O_CREATE, file must not exist.
tempfile.go#L41: f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)
github.com/go-git/go-billy/v5/util
util.go#L157: f, err = fs.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0600)
golang.org/x/mod/zip
zip.go#L649: w, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0444)
io/ioutil
tempfile.go#L64: f, err = os.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0600)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |