Generation returns a Storage's initialization time and and unique random string (or UUID). Implementations should call ResetStorageGeneration on demand if no information is known. The error will be of type GenerationNotSupportedError if an underlying storage target doesn't support the Generationer
()
| 233 | // The error will be of type GenerationNotSupportedError if an underlying |
| 234 | // storage target doesn't support the Generationer interface. |
| 235 | StorageGeneration() (initTime time.Time, random string, err error) |
| 236 | |
| 237 | // ResetGeneration deletes the information returned by Generation |
| 238 | // and re-generates it. |
no outgoing calls
no test coverage detected