Documentation ¶
Index ¶
- func ContainsDir(pth string) (hasDir bool, err error)
- func Copy(sourcePath, destPath string) (err error)
- func CopyAll(sourcePath, destPath string) (err error)
- func Create(path string) (file *os.File, err error)
- func CreateWrite(path string, data string) (err error)
- func Exec(dir, name string, arg ...string) (err error)
- func ExecInput(dir, input, name string, arg ...string) (err error)
- func ExecOutput(dir, name string, arg ...string) (output string, err error)
- func ExecSilent(dir, name string, arg ...string) (err error)
- func Exists(pth string) (exists bool, err error)
- func ExistsDir(pth string) (exists bool, err error)
- func ExistsFile(pth string) (exists bool, err error)
- func ExistsMkdir(pth string, perm os.FileMode) (err error)
- func ExistsRemove(pth string) (err error)
- func GetRemoteAddr(c *gin.Context) (addr string)
- func GitChanged(pth, commitX, commitY string) (changed set.Set, err error)
- func GitCommit(pth string) (commit string, err error)
- func Max(x, y int) int
- func MemoryUsed() (used float64, err error)
- func Min(x, y int) int
- func ParseObjectId(strId string) (objId bson.ObjectId, ok bool)
- func RandBytes(size int) (bytes []byte, err error)
- func RandName() (name string)
- func Remove(path string) (err error)
- func RemoveAll(path string) (err error)
- func VersionNewer(x, y string) bool
- type LoadStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsDir ¶
func CreateWrite ¶
func ExecSilent ¶
func ExistsFile ¶
func ExistsRemove ¶
func GetRemoteAddr ¶
func MemoryUsed ¶
func VersionNewer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.