(pathDisplay string, size uint64)
| 585 | } |
| 586 | |
| 587 | func relocationTestFileMetadata(pathDisplay string, size uint64) *files.FileMetadata { |
| 588 | metadata := files.NewFileMetadata(path.Base(pathDisplay), "id:"+path.Base(pathDisplay), dropbox.DBXTime(time.Time{}), dropbox.DBXTime(time.Time{}), "rev", size) |
| 589 | metadata.PathDisplay = pathDisplay |
| 590 | metadata.PathLower = strings.ToLower(pathDisplay) |
| 591 | return metadata |
| 592 | } |
| 593 | |
| 594 | func relocationTestGetMetadataNotFoundError() error { |
| 595 | return files.GetMetadataAPIError{ |
no outgoing calls
no test coverage detected