(e files.IsMetadata)
| 80 | } |
| 81 | |
| 82 | func entryPath(e files.IsMetadata) string { |
| 83 | switch f := e.(type) { |
| 84 | case *files.FileMetadata: |
| 85 | return f.PathDisplay |
| 86 | case *files.FolderMetadata: |
| 87 | return f.PathDisplay |
| 88 | case *files.DeletedMetadata: |
| 89 | return f.PathDisplay |
| 90 | } |
| 91 | return "" |
| 92 | } |
| 93 | |
| 94 | func entrySize(e files.IsMetadata) uint64 { |
| 95 | if f, ok := e.(*files.FileMetadata); ok { |
no outgoing calls