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

Method UpdateFiles

deb/package.go:582–585  ·  view source on GitHub ↗

UpdateFiles saves new state of files

(files PackageFiles)

Source from the content-addressed store, hash-verified

580
581// UpdateFiles saves new state of files
582func (p *Package) UpdateFiles(files PackageFiles) {
583 p.files = &files
584 p.FilesHash = files.Hash()
585}
586
587// Stanza creates original stanza from package
588func (p *Package) Stanza() (result Stanza) {

Callers 10

ByKeyMethod · 0.95
SetUpTestMethod · 0.80
ImportPackageFilesFunction · 0.80
BuildDownloadQueueMethod · 0.80
FinalizeDownloadMethod · 0.80
TestEqualsMethod · 0.80

Calls 1

HashMethod · 0.45

Tested by 3

SetUpTestMethod · 0.64
TestEqualsMethod · 0.64