Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("the requested file could not be found")
)
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File represents a file from the update system.
func GetPlatformFile ¶
GetPlatformFile returns the latest platform specific file identified by the given identifier.
func (*File) Blacklist ¶
func (f *File) Blacklist()
Blacklist notifies the update system that this file is somehow broken, and should be ignored from now on.
func (*File) ReportError ¶
func (f *File) ReportError()
ReportError reports an error back to Safing. This will not automatically blacklist the file.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.