consts

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilePathEmpty                    = "File path was empty(\"\")."
	BrokenLongPathUncPrefix          = `\?\UNC\`
	BrokenLongPathQuestionMarkPrefix = `\?\`
	DoubleStars                      = "**"
	Export                           = "export"
	SystemCTL                        = "systemctl"
	Service                          = "service"
	Apt                              = "apt"
	AptGet                           = "apt-get"
	Upgrade                          = "upgrade"
	HyphenC                          = "-c"
	Start                            = "start"
	Restart                          = "restart"
	Stop                             = "stop"
	Reload                           = "reload"
	Enable                           = "enable"
	Ln                               = "ln"
	HyphenS                          = "-s"
	Install                          = "install"
	AptUpdate                        = "apt update -y"
	AptGetUpdate                     = "apt-get update -y"
	AptUpgrade                       = "apt upgrade -y"
	PPAWithColon                     = "ppa:"
	AddAptRepository                 = "add-apt-repository -y"
	WGet                             = "wget"
	RmRf                             = "rm -rf"
	HyphenY                          = "-y"
	DefaultFileMode                  = filemode.X644
	DefaultDirectoryFileMode         = filemode.X666
)

Variables

View Source
var (
	SlugForbiddenArray = []string{
		" ",
		"!",
		"`",
		"@",
		"#",
		"%",
		"$",
		"^",
		"&",
		"*",
		"(",
		")",
		"{",
		"}",
		"[",
		"]",
	}

	SlugHashset = corestr.NewHashsetUsingStrings(
		&SlugForbiddenArray)
)

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