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

Method String

deb/local.go:42–47  ·  view source on GitHub ↗

String interface

()

Source from the content-addressed store, hash-verified

40
41// String interface
42func (repo *LocalRepo) String() string {
43 if repo.Comment != "" {
44 return fmt.Sprintf("[%s]: %s", repo.Name, repo.Comment)
45 }
46 return fmt.Sprintf("[%s]", repo.Name)
47}
48
49// NumPackages return number of packages in local repo
50func (repo *LocalRepo) NumPackages() int {

Callers 3

TestAddByNameMethod · 0.95
TestByUUIDMethod · 0.95
TestDropMethod · 0.95

Calls

no outgoing calls

Tested by 3

TestAddByNameMethod · 0.76
TestByUUIDMethod · 0.76
TestDropMethod · 0.76