io/fs.FileMode.Perm (method)
5 uses
io/fs (current package)
fs.go#L233: func (m FileMode) Perm() FileMode {
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())
github.com/lib/pq
ssl_permissions.go#L16: if info.Mode().Perm()&0077 != 0 {
os
file_posix.go#L63: o |= uint32(i.Perm())
![]() |
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. |