Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store stores the version of the client's storage.
func (*Store) CheckUpdateRequired ¶
CheckUpdateRequired determines if the storage needs to be upgraded to the new client version. It returns true if an update is required (new > stored) and false otherwise. The old stored version is returned to be used to determine how to upgrade storage. If the new version is older than the stored version, an error is returned.
Click to show internal directories.
Click to hide internal directories.