(fs billy.Filesystem, protectNTFS, protectHFS bool)
| 46 | } |
| 47 | |
| 48 | func newWorktreeFilesystem(fs billy.Filesystem, protectNTFS, protectHFS bool) *worktreeFilesystem { |
| 49 | return &worktreeFilesystem{Filesystem: fs, protectNTFS: protectNTFS, protectHFS: protectHFS} |
| 50 | } |
| 51 | |
| 52 | func (sfs *worktreeFilesystem) Create(filename string) (billy.File, error) { |
| 53 | if err := sfs.validPath(filename); err != nil { |
no outgoing calls
searching dependent graphs…