Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriveDb ¶
type DriveDb struct {
Drives []DriveModel `yaml:"drives"`
}
func OpenDriveDb ¶
OpenDriveDb opens a YAML-formatted drive database, unmarshalls it, and returns a DriveDb.
func (*DriveDb) LookupDrive ¶
func (db *DriveDb) LookupDrive(ident []byte) DriveModel
LookupDrive returns the most appropriate DriveModel for a given ATA IDENTIFY value.
Click to show internal directories.
Click to hide internal directories.