()
| 354 | } |
| 355 | |
| 356 | func (o *Object) isTempFile() bool { |
| 357 | _, err := o.CacheFs.cache.SearchPendingUpload(o.abs()) |
| 358 | if err != nil { |
| 359 | o.CacheType = objectInCache |
| 360 | return false |
| 361 | } |
| 362 | |
| 363 | o.CacheType = objectPendingUpload |
| 364 | return true |
| 365 | } |
| 366 | |
| 367 | func (o *Object) tempFileStartedUpload() bool { |
| 368 | started, err := o.CacheFs.cache.SearchPendingUpload(o.abs()) |
no test coverage detected