Simplify FileInfoTruncated

This commit is contained in:
Jakob Borg committed 2015-02-15 12:50:03 +01:00
1 parent e7dbb8ccdc
commit 88c44b303d
3 files changed
+15 -164

No files matched your search

+1 -2
View File
@@ -810,8 +810,7 @@ func toNeedSlice(fs []db.FileInfoTruncated) []map[string]interface{} {
"Modified": file.Modified,
"Version": file.Version,
"LocalVersion": file.LocalVersion,
"NumBlocks": file.NumBlocks,
"Size": db.BlocksToSize(int(file.NumBlocks)),
"Size": file.Size(),
}
}
return output