pkg

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasFilePath

func AliasFilePath() string

func ConfigDirMissing

func ConfigDirMissing() bool

func ConfigDirPath

func ConfigDirPath() string

func ConfigFilePath

func ConfigFilePath() string

func FileMissing added in v0.5.0

func FileMissing(path string) bool

func MakeAliasCommands

func MakeAliasCommands(name string, path string, config Config) string

func MakeConfigDir

func MakeConfigDir()

func ReadFile added in v0.5.0

func ReadFile(path string) []byte

func SaveExtraDir

func SaveExtraDir(path string)

Types

type Config

type Config struct {
	Path      string
	EditorCmd string
	Extras    []string
}

func FromJson

func FromJson(j []byte) Config

func (Config) AsJson

func (c Config) AsJson() []byte

func (Config) Save

func (c Config) Save()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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