()
| 62 | } |
| 63 | |
| 64 | func (sto *condStorage) StorageGeneration() (initTime time.Time, random string, err error) { |
| 65 | if gener, ok := sto.read.(blobserver.Generationer); ok { |
| 66 | return gener.StorageGeneration() |
| 67 | } |
| 68 | err = blobserver.GenerationNotSupportedError(fmt.Sprintf("blobserver.Generationer not implemented on %T", sto.read)) |
| 69 | return |
| 70 | } |
| 71 | |
| 72 | func (sto *condStorage) ResetStorageGeneration() error { |
| 73 | if gener, ok := sto.read.(blobserver.Generationer); ok { |
nothing calls this directly
no test coverage detected