cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ExpirationHours float64 = 24 * 90

Variables

View Source
var CacheFile string
View Source
var FullCacheUpdate bool
View Source
var UseCache bool
View Source
var VerbosityLevel int

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type CachePolicy added in v1.3.0

type CachePolicy struct {
	ReadFromCache bool
	WriteToCache  bool
}

type CachedEntry

type CachedEntry struct {
	Signature string
}

type FileInfo

type FileInfo struct {
	Path  string
	Size  int64
	Mtime time.Time
}

Jump to

Keyboard shortcuts

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