GetBinaryUpdateFile returns the file path of a binary update file.
(name string)
| 476 | |
| 477 | // GetBinaryUpdateFile returns the file path of a binary update file. |
| 478 | func (i *Instance) GetBinaryUpdateFile(name string) (path string, err error) { |
| 479 | file, err := i.binaryUpdates.GetFile(name) |
| 480 | if err != nil { |
| 481 | return "", err |
| 482 | } |
| 483 | return file.Path(), nil |
| 484 | } |
| 485 | |
| 486 | // IntelUpdates returns the updates module. |
| 487 | func (i *Instance) IntelUpdates() *updates.Updater { |