Documentation
¶
Index ¶
- Variables
- func CopyTree(dest string, sources []interface{}) (err error)
- func GetCalledDir(abs ...bool) string
- func GetCalledDirOrError(abs ...bool) string
- func GetCalledFileName(abs ...bool) string
- func GetCalledFileNameSkip(skip int, abs ...bool) (pth 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 PkgPathOf(value interface{}) string
- func ResolveFileMode(pth string) (mode os.FileMode, err error)
- func ResolveFilePerms(pth string) (perms permbits.PermissionBits, err error)
- func ResolveGoPath(pth string) (gopath string)
- func ResolveGoSrcPath(p ...string) string
- func ResolveMode(pth string) (mode os.FileMode, err error)
- func ResolvePerms(pth string) (perms permbits.PermissionBits, err error)
- func TrimGoPathC(pth string, sub ...string) string
- type Path
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GOPATHC string GOPATH string GOPATHS []string )
Functions ¶
func GetCalledDir ¶
func GetCalledDirOrError ¶
func GetCalledFileName ¶
func GetCalledFileNameSkip ¶
func HasSources ¶
func IsExistingDir ¶
func IsExistingDirE ¶
func IsExistingRegularFile ¶
func MkdirAllIfNotExists ¶
func ResolveFilePerms ¶
func ResolveFilePerms(pth string) (perms permbits.PermissionBits, err error)
func ResolveGoPath ¶
func ResolveGoSrcPath ¶
func ResolvePerms ¶
func ResolvePerms(pth string) (perms permbits.PermissionBits, err error)
func TrimGoPathC ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.