(path string)
| 194 | } |
| 195 | |
| 196 | func (h *fileHandler) CreateFile(path string) (io.WriteCloser, error) { |
| 197 | path = h.JoinPath(path) |
| 198 | fp, err := os.Create(path) |
| 199 | return &fileSyncer{fp}, errors.Wrapf(err, "File handler failed to create file %s", path) |
| 200 | } |
| 201 | |
| 202 | func (h *fileHandler) Rename(src, dst string) error { |
| 203 | src = h.JoinPath(src) |