We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c546e commit 71bd7a0Copy full SHA for 71bd7a0
internal/pkg/agent/application/upgrade/step_unpack.go
@@ -35,7 +35,6 @@ type UnpackResult struct {
35
VersionedHome string `json:"versioned-home" yaml:"versioned-home"`
36
}
37
38
-// Types used to abstract copy, mkdirAll and openFile functions
39
type copyFunc func(dst io.Writer, src io.Reader) (written int64, err error)
40
type openFileFunc func(name string, flag int, perm fs.FileMode) (*os.File, error)
41
type unarchiveFunc func(log *logger.Logger, archivePath, dataDir string, flavor string, copy copyFunc, mkdirAll mkdirAllFunc, openFile openFileFunc) (UnpackResult, error)
0 commit comments