MCPcopy Index your code
hub / github.com/devspace-sh/devspace / NewUnarchiver

Function NewUnarchiver

pkg/devspace/sync/tar.go:31–37  ·  view source on GitHub ↗

NewUnarchiver creates a new unarchiver

(syncConfig *Sync, forceOverride bool, log log.Logger)

Source from the content-addressed store, hash-verified

29
30// NewUnarchiver creates a new unarchiver
31func NewUnarchiver(syncConfig *Sync, forceOverride bool, log log.Logger) *Unarchiver {
32 return &Unarchiver{
33 syncConfig: syncConfig,
34 forceOverride: forceOverride,
35 log: log,
36 }
37}
38
39// Untar untars the given reader into the destination directory
40func (u *Unarchiver) Untar(fromReader io.ReadCloser, toPath string) error {

Callers 1

newDownstreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected