Documentation ¶
Index ¶
- Variables
- func CheckPasswordHash(password, hash string) bool
- func CopyFile(src, dst string) (caught try.Err)
- func CreateDirIfNotExists(dirpath string) (caught try.Err)
- func DoesFileExist(filepath string) bool
- func FileSize(filePath string) (size int64, caught try.Err)
- func HashPassword(password string) (string, error)
- func NewTmpdir() (tmpdir string, caught try.Err)
- func NormalizePath(sitePath string) string
- func PurgeTmpdirs() (count int)
- func TrimPath(sitePath string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRegularFile = errors.New("not a regular file")
Functions ¶
func CheckPasswordHash ¶
func CreateDirIfNotExists ¶
func DoesFileExist ¶
func HashPassword ¶
func NormalizePath ¶
func PurgeTmpdirs ¶
func PurgeTmpdirs() (count int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.