command

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package command lists the known archiving and decompression application names.

Index

Constants

View Source
const (
	Arc     = "arc"     // Arc is the arc decompression command.
	Arj     = "arj"     // Arj is the arj decompression command.
	BSDTar  = "bsdtar"  // BSDTar is the tar decompression command.
	Cab     = "gcab"    // Cab is the gcab decompression command for Microsoft Cabinet.
	Gzip    = "gzip"    // Gzip is the gzip decompression command.
	HWZip   = "hwzip"   // Hwzip the zip decompression command for files using obsolete methods.
	Lha     = "lha"     // Lha is the lha/lzh decompression command.
	Tar     = "tar"     // Tar is the tar decompression command.
	Unrar   = "unrar"   // Unrar is the rar decompression command.
	Unzip   = "unzip"   // Unzip is the zip decompression command.
	Zip7    = "7zz"     // Zip7 is the 7-Zip decompression command.
	ZipInfo = "zipinfo" // ZipInfo is the zip information command.
)
View Source
const (
	TimeoutList    = 2 * time.Second  // TimeoutList value in seconds for the command running in a background context.
	TimeoutDefunct = 5 * time.Second  // TimeoutDefunct is the maximum time allowed for the defunct file extraction.
	TimeoutExtract = 15 * time.Second // TimeoutExtract is the maximum time allowed for the archive extraction.
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL