Documentation ¶
Index ¶
- Constants
- Variables
- func Bash(script string) (string, error)
- func BillyCalcDirHash(dir string, FS billy.Filesystem) (string, error)
- func BillyCalcFileHash(filename string, FS billy.Filesystem) (string, error)
- func BillyCalcHash(FS billy.Filesystem) (string, error)
- func BillyFilenames(dir string, FS billy.Filesystem) ([]string, error)
- func BillyGlobCalcDirHash(dir string, FS billy.Filesystem, includes, excludes []string) (string, error)
- func BillyGlobCalcHash(FS billy.Filesystem, include, exclude []string) (string, error)
- func BillyGlobLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, includes, excludes []string) error
- func BillyGlobWriteDirToOS(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
- func BillyLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, trimFirstDir bool) error
- func BillyReadAll(filename string, FS billy.Filesystem) ([]byte, error)
- func BillyReadAllString(filename string, FS billy.Filesystem) (string, error)
- func BillyWriteDirToOS(baseDir string, dir string, FS billy.Filesystem) error
- func BillyWriteFileToOS(baseDir string, file string, FS billy.Filesystem) error
- func CheckShouldInclude(filename string, includes, excludes []string) (bool, 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 BillyCalcDirHash ¶
func BillyCalcFileHash ¶
func BillyCalcHash ¶
func BillyFilenames ¶
func BillyGlobCalcDirHash ¶
func BillyGlobCalcHash ¶
func BillyGlobLoadFromZip ¶
func BillyGlobLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, includes, excludes []string) error
Loads an initialized zip.Reader into an initialize billy.Filesystem
func BillyGlobWriteDirToOS ¶
func BillyGlobWriteDirToOS(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
Write dir in FS onto the os filesystem at baseDir
func BillyLoadFromZip ¶
func BillyReadAll ¶
func BillyReadAllString ¶
func BillyWriteDirToOS ¶
Writes dir in FS onto the os filesystem at baseDir
func BillyWriteFileToOS ¶
Writes file in FS onto the os filesystem at baseDir
func CheckShouldInclude ¶
func PrintCueInstance ¶
func UserHomeDir ¶
func UserHomeDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.