| 1 | package memfsscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/ |
| 2 | |
| 3 | type Optionscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/Option# func(*optionsscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/options#) |
| 4 | |
| 5 | type optionsscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/options# struct { |
| 6 | umaskscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/options#umask. uint32 |
| 7 | } |
| 8 | |
| 9 | // WithUmask sets the umask for the memfs filesystem. The umask controls the |
| 10 | // default permissions for newly created files and directories by clearing |
| 11 | // specified permission bits. If not set, defaults to 0o022. |
| 12 | func WithUmaskscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/WithUmask().(mask uint32) Optionscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/Option# { |
| 13 | return func(o *optionsscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/options#) { |
| 14 | o.umaskscip-go gomod github.com/go-git/go-billy/v6 . `github.com/go-git/go-billy/v6/memfs`/options#umask. = mask |
| 15 | } |
| 16 | } |