ript

package
v0.0.0-...-f90db61 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsActiveDevelopment string = "true"
View Source
var Version = "development"

Functions

func ActiveD

func ActiveD() bool

func Cheat

func Cheat(tname, destDir string) error

func Cheat2

func Cheat2(tname, destDir string) error

func Cheat2B

func Cheat2B(srcDir, destDir, tname string) error

func CheatB

func CheatB(srcDir, destDir, tname string) error

func ConfigClobber

func ConfigClobber() bool

func ConfigDryRun

func ConfigDryRun() bool

func ConfigIf

func ConfigIf(n int) bool

func ConfigIsActiveD

func ConfigIsActiveD() bool

func ConfigLogApis

func ConfigLogApis() bool

func ConfigNoClobber

func ConfigNoClobber() bool

func ConfigUseVersion

func ConfigUseVersion() int

func ConfigVerbose

func ConfigVerbose() bool

func Cwd

func Cwd() string

func IsProd

func IsProd() bool

func TrimPathPrefix

func TrimPathPrefix(s, prefix string) string

Types

type Config

type Config struct {
	Dryrun       bool
	NoClobber    bool
	Verbose      bool
	LogApis      bool
	VersionToUse int

	ActiveD bool
}

func NewConfig

func NewConfig(dryrun bool) *Config

func (*Config) SetSafe

func (c *Config) SetSafe(safe bool)

func (*Config) SetVerbose

func (c *Config) SetVerbose(verbose bool)

type DebugOptions

type DebugOptions struct {
	VerboseLevel int
}
var Debug DebugOptions

type MultiBlast

type MultiBlast struct {
	Fs *fs.FS
	// contains filtered or unexported fields
}

func NewMultiBlast

func NewMultiBlast(dir string) *MultiBlast

type Replacer

type Replacer struct {
	// contains filtered or unexported fields
}

func NewReplacer

func NewReplacer(r io.Reader, replacements map[string]string) *Replacer

func (*Replacer) Read

func (rplr *Replacer) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

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