The public tree and its history contain only the listed paths. Earlier projection history remains preserved internally. Source-Sha: 913fde029b935671833254797f0f20f1eb9fabba Policy-Sha: 913fde029b935671833254797f0f20f1eb9fabba Tree-Digest: 180ae530c1058a2a5c89837bdce2d323ae83e669e38590ca72e75b8d92b7262f
21 lines
675 B
Go
21 lines
675 B
Go
package installer
|
|
|
|
// PacmanResolvedArtifact is one exact archive in the transaction pacman
|
|
// resolved for a requested package. Paths remain valid until Cleanup is called.
|
|
type PacmanResolvedArtifact struct {
|
|
Name string
|
|
Version string
|
|
Repository string
|
|
ArchivePath string
|
|
ArchiveSHA256 string
|
|
SignaturePath string
|
|
SignatureSHA256 string
|
|
}
|
|
|
|
// PacmanResolution owns the private sync database and cache backing a resolved
|
|
// transaction. The caller keeps it alive through helper execution, then calls
|
|
// Cleanup even when mint or execution refuses.
|
|
type PacmanResolution struct {
|
|
Artifacts []PacmanResolvedArtifact
|
|
Cleanup func()
|
|
}
|