const os.O_WRONLY
9 uses
os (current package)
file.go#L74: O_WRONLY int = syscall.O_WRONLY // open the file write-only.
file.go#L696: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
os/exec
exec.go#L291: f, err = os.OpenFile(os.DevNull, os.O_WRONLY, 0)
github.com/go-git/go-billy/v5/util
util.go#L100: f, err := fs.OpenFile(filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
github.com/go-git/go-git/v5
worktree.go#L539: to, err := w.Filesystem.OpenFile(f.Name, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, mode.Perm())
worktree.go#L571: to, err := w.Filesystem.OpenFile(f.Name, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, mode.Perm())
golang.org/x/mod/zip
zip.go#L649: w, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0444)
golang.org/x/pkgsite/devtools/cmd/css
main.go#L94: file, err := os.OpenFile(cssFile, os.O_WRONLY|os.O_APPEND, 0644)
testing
testing.go#L1574: f, err = os.OpenFile(*testlog, os.O_WRONLY, 0)
 |
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. |