(blob *search.DescribedBlob)
| 167 | } |
| 168 | |
| 169 | func detail(blob *search.DescribedBlob) string { |
| 170 | // TODO(mpl): attrType, value for claim. but I don't think they're accessible just with a describe req. |
| 171 | if blob.CamliType == schema.TypeFile { |
| 172 | return fmt.Sprintf("%v (%v size=%v)", blob.CamliType, blob.File.FileName, blob.File.Size) |
| 173 | } |
| 174 | return string(blob.CamliType) |
| 175 | } |