Versions in this module Expand all Collapse all v1 v1.0.0 May 1, 2024 Changes in this version + const R + const W + const X + var Log *log.Logger + func CheckDir(p string) error + func CheckFile(p string) error + func CopyFile(src, dst string) error + func CopytoTemp(filename string) (tmpFile string, err error) + func Create(filename string, b []byte) (err error) + func CreateDir(dir string) error + func CreateFromString(filename string, s string) error + func Dload(dst io.Writer, fileURL string) error + func DloadToFile(dir, fileURL string) error + func GroupHas(name string, p ...perm) (bool, error) + func IsDir(name string) (bool, error) + func IsFile(name string) (bool, error) + func LastDirNumeric(path string) (fullPath string, version string, err error) + func OthersHave(name string, p ...perm) (bool, error) + func Overwrite(filename string, b []byte) (err error) + func OwnerHas(name string, p ...perm) (bool, error) + func PathAbsDir(dir string) (string, error) + func PathRelative(dir, file string) string + func ReadGob(filePath string, x interface{}) (err error) + func Untar(filename, dirDst string) error + func WriteGob(filePath string, x interface{}) (err error) + func WritetoTemp(b []byte, name string) (filename string, err error) + type Info struct + func NewInfo(name string) (Info, error) + func (i Info) GroupHas(p ...perm) bool + func (i Info) IsDir() bool + func (i Info) IsFile() bool + func (i Info) OthersHave(p ...perm) bool + func (i Info) OwnerHas(p ...perm) bool