Documentation
¶
Index ¶
- Variables
- func CleanModVersion(pth string) string
- 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 MkdirAllIfNotExistsPerms(pth string, perms permbits.PermissionBits) 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
- type Path
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GOPATHS []*goPath
)
Functions ¶
func CleanModVersion ¶ added in v0.0.2
CleanModVersion clean mod version sufix `@vX.X.X-DATE-COMMIT_ID`
func GetCalledDir ¶
func GetCalledDirUp ¶
func GetCalledFile ¶
func GetCalledFileAbs ¶
func GetCalledFileUp ¶
func HasSources ¶
func IsExistingDir ¶
func IsExistingDirE ¶
func IsExistingRegularFile ¶
func MkdirAllIfNotExists ¶
func MkdirAllIfNotExistsPerms ¶ added in v0.0.3
func MkdirAllIfNotExistsPerms(pth string, perms permbits.PermissionBits) error
func MustResolveFileMode ¶
func MustResolveMode ¶
func PkgFromPath ¶
func ResolveFilePerms ¶
func ResolveFilePerms(pth string) (perms permbits.PermissionBits, err error)
func ResolvePerms ¶
func ResolvePerms(pth string) (perms permbits.PermissionBits, err error)
func StripGoPath ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.