internal

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// commands
	CmdCp    = "cp"
	CmdMkdir = "mkdir"
	CmdMv    = "mv"
	CmdHash  = "hash"
)
View Source
const (
	// info
	Name    = "go-box"
	Version = "0.3.1"
)

cmd argumets names

Variables

View Source
var Revision = func() string {
	if info, ok := debug.ReadBuildInfo(); ok {
		for _, setting := range info.Settings {
			if setting.Key == "vcs.revision" {
				return setting.Value
			}
		}
	}
	return ""
}()

vcs info

View Source
var RootCommandHelpTemplate = `` /* 771-byte string literal not displayed */

Functions

func Basename

func Basename(name string) string

func WithoutExtension

func WithoutExtension(basename string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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