Versions in this module Expand all Collapse all v0 v0.0.3 Apr 27, 2021 Changes in this version + func MkdirAllIfNotExistsPerms(pth string, perms permbits.PermissionBits) error v0.0.2 Sep 29, 2020 Changes in this version + func CleanModVersion(pth string) string v0.0.1 May 7, 2020 Changes in this version + var GOPATHS []*goPath + func CopyTree(dest string, sources []interface{}) (err error) + func GetCalledDir(abs ...bool) string + func GetCalledDirUp(up int, abs ...bool) string + func GetCalledFile(abs ...bool) string + func GetCalledFileAbs(skip ...int) string + func GetCalledFileUp(up int, abs ...bool) string + func HasSources(skip ...int) bool + func IsExistingDir(pth string) bool + func IsExistingDirE(pth string) (ok bool, err error) + func IsExistingRegularFile(pth string) bool + func IsSymlink(mode os.FileMode) bool + func MkdirAll(pth string) error + func MkdirAllIfNotExists(pth string) error + func MustResolveFileMode(pth string) os.FileMode + func MustResolveMode(pth string) os.FileMode + func Parents(sub, sep string, cb func(sub string) error) (err error) + func PkgFromPath(pth string) string + func PkgPathOf(value interface{}) string + func ResolveFileMode(pth string) (mode os.FileMode, err error) + func ResolveFilePerms(pth string) (perms permbits.PermissionBits, err error) + func ResolveMode(pth string) (mode os.FileMode, err error) + func ResolvePerms(pth string) (perms permbits.PermissionBits, err error) + func StripGoPath(parts ...string) string + type GoPath interface + HasSrcDir func() bool + Pth func() string + func ResolveGoPath(pth string) (gopath GoPath) + func ResolveGoSrcPath(p ...string) (gpth GoPath, pth string) + type Path struct + Alias string + Data []byte + Real string