Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetPackages ¶
type IndexItem ¶
type IndexItem struct { Hash string // Hash of the item Unchanged bool // Unchanged is true if the package already exists in the client cache. }
IndexItem is an item in PackagesIndex. Unchanged is true if the client already has cached as specified by Cache in the GetPackages message. Unchanged dependencies are not sent as Source / Objects messages.
type PackageIndex ¶
type PackageIndex struct { Path string Tags []string Source map[string]IndexItem Objects map[string]IndexItem }
PackagesIndex is returned to the client to summarize the Source and Objects messages that were also sent, and to confirm which were not sent because the cache was up-to-date.
Click to show internal directories.
Click to hide internal directories.