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

Method Cleanup

deb/changes.go:161–167  ·  view source on GitHub ↗

Cleanup removes all temporary files

()

Source from the content-addressed store, hash-verified

159
160// Cleanup removes all temporary files
161func (c *Changes) Cleanup() error {
162 if c.TempDir == "" {
163 return nil
164 }
165
166 return os.RemoveAll(c.TempDir)
167}
168
169// PackageQuery returns query that every package should match to be included
170func (c *Changes) PackageQuery() PackageQuery {

Callers 1

ImportChangesFilesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected