MCPcopy Index your code
hub / github.com/aptly-dev/aptly / Components

Method Components

deb/publish.go:642–650  ·  view source on GitHub ↗

Components returns sorted list of published repo components

()

Source from the content-addressed store, hash-verified

640
641// Components returns sorted list of published repo components
642func (p *PublishedRepo) Components() []string {
643 result := make([]string, 0, len(p.Sources))
644 for component := range p.Sources {
645 result = append(result, component)
646 }
647
648 sort.Strings(result)
649 return result
650}
651
652// SourceNames returns sorted list of published repo source names
653func (p *PublishedRepo) SourceNames() []string {

Callers 15

ObtainRevisionMethod · 0.95
UpdateMethod · 0.95
MarshalJSONMethod · 0.95
StringMethod · 0.95
SourceNamesMethod · 0.95
PublishMethod · 0.95
aptlyPublishSwitchFunction · 0.95
TestNewPublishedRepoMethod · 0.45
BuildGraphFunction · 0.45

Calls 1

StringsMethod · 0.45

Tested by 3

TestNewPublishedRepoMethod · 0.36