Go after 0.42gb of remaining literal store

This commit is contained in:
Abhishek Pandey 2023-11-28 23:48:26 -08:00
parent 178ae0d465
commit f6905d3720

View File

@ -198,11 +198,11 @@ func (oc *Collection) Add(cdi CorsoDriveItemable) bool {
// oc.driveItems[ptr.Val(item.GetId())] = item
//cdi := ToCorsoDriveItemable(item)
_, found := oc.driveItems[ptr.Val(cdi.GetId())]
oc.driveItems[ptr.Val(cdi.GetId())] = cdi
//_, found := oc.driveItems[ptr.Val(cdi.GetId())]
//oc.driveItems[ptr.Val(cdi.GetId())] = cdi
// if !found, it's a new addition
return !found
return true
}
// Remove removes a item from the collection