decodeMetaDataFileInfo sets the metadata in the object from an api.FileInfo Sets o.id o.modTime o.size o.sha1
(info *api.FileInfo)
| 1789 | // o.size |
| 1790 | // o.sha1 |
| 1791 | func (o *Object) decodeMetaDataFileInfo(info *api.FileInfo) (err error) { |
| 1792 | return o.decodeMetaDataRaw(info.ID, info.SHA1, info.Size, info.UploadTimestamp, info.Info, info.ContentType) |
| 1793 | } |
| 1794 | |
| 1795 | // getMetaDataListing gets the metadata from the object unconditionally from the listing |
| 1796 | // |
no test coverage detected