io

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseDir

func BaseDir(s string) string

func Basename

func Basename(s string) string

func CallerInfo added in v0.5.3

func CallerInfo(skip int) (file string, line int, fn string)

func ChangeWorkDir

func ChangeWorkDir(workDir string) error

func CreateFile

func CreateFile(path, filename string) error

func DirName

func DirName(s string) string

func EnsureWorkDir

func EnsureWorkDir(skip int, existFile string) bool

func Filename

func Filename(s string) string

func GetRelativePath

func GetRelativePath(level int) string

func GetWorkDir

func GetWorkDir() string

func IsPathNotExist

func IsPathNotExist(path string) bool

func Visit

func Visit(files *[]string) filepath.WalkFunc

func WriterFile

func WriterFile(path, filename string, in []byte) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL