MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Extract

Method Extract

agent/utils/files/archiver.go:11–11  ·  view source on GitHub ↗
(ctx context.Context, filePath, dstDir string, secret string)

Source from the content-addressed store, hash-verified

9
10type ShellArchiver interface {
11 Extract(ctx context.Context, filePath, dstDir string, secret string) error
12 Compress(ctx context.Context, sourcePaths []string, dstFile string, secret string) error
13}
14

Callers 4

loadSqlFileFunction · 0.95
decompressWithSDKMethod · 0.65
DecompressMethod · 0.65
tryDecompressTarGzMethod · 0.65

Implementers 5

TarArchiveragent/utils/files/tar.go
X7zArchiveragent/utils/files/x7z.go
RarArchiveragent/utils/files/rar.go
TarGzArchiveragent/utils/files/tar_gz.go
ZipArchiveragent/utils/files/zip.go

Calls

no outgoing calls

Tested by

no test coverage detected