Documentation
¶
Index ¶
- Constants
- Variables
- func Bash(script string) (string, error)
- func BillyCopyDir(baseDir string, dir string, FS billy.Filesystem) error
- func BillyCopyFile(baseDir string, file string, FS billy.Filesystem) error
- func BillyGlobCopy(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
- func BillyReadAll(filename string, FS billy.Filesystem) ([]byte, error)
- func BillyReadAllString(filename string, FS billy.Filesystem) (string, error)
- func CopyDir(src string, dst string) error
- func CopyFile(src, dst string) error
- func Exec(args []string) (string, error)
- func GetHash(path string, hashAlgorithm string) (string, error)
- func NewHash(name *string) (hash.Hash, error)
- func PrintCueInstance(i *cue.Instance) error
- func UserHomeDir() string
Constants ¶
View Source
const ( SHA1 = "sha1" SHA256 = "sha256" MD5 = "md5" )
SHA1, SHA256, MD5
Variables ¶
View Source
var ( // Global cue runtime CueRuntime cue.Runtime )
Functions ¶
func BillyCopyDir ¶
Copies dir in FS onto the os filesystem at baseDir
func BillyCopyFile ¶
Copies file in FS onto the os filesystem at baseDir
func BillyGlobCopy ¶
func BillyGlobCopy(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
Copies dir in FS onto the os filesystem at baseDir
func BillyReadAll ¶
func BillyReadAllString ¶
func PrintCueInstance ¶ added in v0.1.1
func UserHomeDir ¶
func UserHomeDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.