Storable returns the cached Storable
()
| 147 | |
| 148 | // Storable returns the cached Storable |
| 149 | func (o *Object) Storable() bool { |
| 150 | _ = o.refresh(context.TODO()) |
| 151 | return o.CacheStorable |
| 152 | } |
| 153 | |
| 154 | // refresh will check if the object info is expired and request the info from source if it is |
| 155 | // all these conditions must be true to ignore a refresh |