(id string)
| 59 | } |
| 60 | |
| 61 | func newUpload(id string) *upload { |
| 62 | return &upload{id: id, FileSystemBase: FileSystemBase{resolvePath: func(name FSName) string { |
| 63 | return util.SafeJoinFilePaths(uploadsPath, string(name)) |
| 64 | }}} |
| 65 | } |
| 66 | |
| 67 | func (u *upload) delete() error { |
| 68 | u.mu.Lock() |
no test coverage detected