MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Extra

Method Extra

deb/package.go:500–509  ·  view source on GitHub ↗

Extra returns Stanza of extra fields (it may load it from collection)

()

Source from the content-addressed store, hash-verified

498
499// Extra returns Stanza of extra fields (it may load it from collection)
500func (p *Package) Extra() Stanza {
501 if p.extra == nil {
502 if p.collection == nil {
503 panic("extra == nil && collection == nil")
504 }
505 p.extra = p.collection.loadExtra(p)
506 }
507
508 return *p.extra
509}
510
511// Deps returns parsed package dependencies (it may load it from collection)
512func (p *Package) Deps() *PackageDependencies {

Callers 7

GetFieldMethod · 0.95
QualifiedNameMethod · 0.95
StanzaMethod · 0.95
LinkFromPoolMethod · 0.95
TestLinkFromPoolMethod · 0.80
TestByKeyMethod · 0.80
TestByKeyOld0_3Method · 0.80

Calls 1

loadExtraMethod · 0.80

Tested by 3

TestLinkFromPoolMethod · 0.64
TestByKeyMethod · 0.64
TestByKeyOld0_3Method · 0.64