command

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: GPL-3.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.
	Unar    = "unar"    // Unar is the The Unarchiver decompression command for multiple types.
	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