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

Function NewRarArchiver

agent/utils/files/rar.go:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func NewRarArchiver() ShellArchiver {
19 return &RarArchiver{}
20}
21
22func (z RarArchiver) Extract(ctx context.Context, filePath, dstDir string, _ string) error {
23 if err := checkCmdAvailability("unrar"); err != nil {

Callers 3

CompressMethod · 0.85
NewShellArchiverFunction · 0.85
NewExtractShellArchiverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected