Documentation ¶
Index ¶
- func CopyFile(src string, dest string) error
- func Download(url string) ([]byte, error)
- func DownloadToFile(url string, filepath string, mode os.FileMode) error
- func Exec(silent bool, cmd string, arg ...string) (int, error)
- func ExistsInPath(filename string) (string, bool)
- func FileExists(filename string) bool
- func LoadFromFileOrUri(uri string) (content []byte, e error)
- func MakeDir(path string, perms os.FileMode) error
- func SHA256File(path string) (string, error)
- func SHA256String(s string) string
- func Shell(chdir string, arg ...string) (int, error)
- func Template(s string, context pongo2.Context) (string, error)
- func TemplateFile(srcFile string, destFile string, context pongo2.Context) error
- func TouchFile(path string) (*os.File, error)
- func Unzip(src string, dest string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsInPath ¶
Return the absolute path of given filename and optionally boolean false when not found
func FileExists ¶
func LoadFromFileOrUri ¶
func SHA256File ¶
func SHA256String ¶
func TemplateFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.