(path string)
| 167 | return os.Open(h.JoinPath(path)) |
| 168 | } |
| 169 | func (h *fileHandler) ListPaths(path string) []string { |
| 170 | path = h.JoinPath(path) |
| 171 | return x.WalkPathFunc(path, func(path string, isDis bool) bool { |
| 172 | return true |
| 173 | }) |
| 174 | } |
| 175 | func (h *fileHandler) CreateDir(path string) error { |
| 176 | path = h.JoinPath(path) |
| 177 | if err := os.MkdirAll(path, 0755); err != nil { |
nothing calls this directly
no test coverage detected