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

Method Copy

deb/format.go:101–107  ·  view source on GitHub ↗

Copy returns copy of Stanza

()

Source from the content-addressed store, hash-verified

99
100// Copy returns copy of Stanza
101func (s Stanza) Copy() (result Stanza) {
102 result = make(Stanza, len(s))
103 for k, v := range s {
104 result[k] = v
105 }
106 return
107}
108
109func isMultilineField(field string, isRelease bool) bool {
110 switch field {

Callers 15

checkDetachedSignatureFunction · 0.45
runGpgvMethod · 0.45
VerifyClearsignedMethod · 0.45
ExtractClearsignedMethod · 0.45
ClearSignMethod · 0.45
MD5ChecksumForFileFunction · 0.45
ChecksumsForReaderFunction · 0.45
CompressFileFunction · 0.45
CopyFileFunction · 0.45
PutFileMethod · 0.45
LinkFromPoolMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestImportMoveMethod · 0.36
TestReadWriteStanzaMethod · 0.36
ExtractClearsignedMethod · 0.36
SetUpPackagesMethod · 0.36
SetUpTestMethod · 0.36
TestFilterLatestMethod · 0.36
SetUpTestMethod · 0.36
SetUpTestMethod · 0.36