package
1.8.1
Repository: https://github.com/hidevopsio/hiboot.git
Documentation: pkg.go.dev

# Functions

BaseDir get base dir from a path /a/b/c.ext => /a/b /a/b/c => /a/b.
Basename get the base name from a path /a/b/c.ext => /a/b/c.
CallerInfo get call info, include filename, line number or function name.
ChangeWorkDir change current working dir.
CreateFile create file.
DirName get dir name from a path /a/b/c => c.
EnsureWorkDir ensure the working dir is set the correct dir specified by user.
Filename get file name from a path /a/b/c.ext => c.ext.
GetRelativePath get relative path.
GetWorkDir get current working dir.
IsPathNotExist check if path is not exist.
Visit get files in a specific dir.
WriterFile write bytes to file.