(filename string)
| 71 | } |
| 72 | |
| 73 | func (sfs *worktreeFilesystem) Stat(filename string) (os.FileInfo, error) { |
| 74 | if err := sfs.validReadPath(filename); err != nil { |
| 75 | return nil, fmt.Errorf("stat: %w", err) |
| 76 | } |
| 77 | return sfs.Filesystem.Stat(filename) |
| 78 | } |
| 79 | |
| 80 | func (sfs *worktreeFilesystem) Remove(filename string) error { |
| 81 | if err := sfs.validPath(filename); err != nil { |
nothing calls this directly
no test coverage detected