Documentation ¶
Overview ¶
Package versioning handles device manager versioning. Device manager binaries need to be compatible with the existing device manager installation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentVersion = Version{1, 0}
Functions ¶
func CheckCompatibility ¶
Checks the compatibilty of the running binary against the device manager directory on disk
Types ¶
type CreatorInfo ¶
CreationInfo holds data about the binary that originally created the device manager on-disk state
type Version ¶
type Version struct{ Major, Minor int }
Version info for this device manager binary. Increment as appropriate when the binary changes. The major version number should be incremented whenever a change to the binary makes it incompatible with on-disk state created by a binary from a different major version.
Click to show internal directories.
Click to hide internal directories.