()
| 276 | } |
| 277 | |
| 278 | func (t *ArchiveContentUploadTask) deleteSrcFile() { |
| 279 | if !t.finalized { |
| 280 | _ = os.RemoveAll(t.FilePath) |
| 281 | t.finalized = true |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | func moveToTempPath(path, prefix string) (string, error) { |
| 286 | newPath, err := genTempFileName(prefix) |
no test coverage detected