fileutil

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectContentType

func DetectContentType(filepath string) string

DetectContentType returns the file content-type

func MD5Hex

func MD5Hex(filepath string) string

MD5Hex returns the file md5 hash hex

func PathExist

func PathExist(path string) bool

PathExist

func UserHomeAbs

func UserHomeAbs(filename string) string

func Visit

func Visit(dir string, suffix string, visitor func(filename string) error) error

Visit

Types

This section is empty.

Jump to

Keyboard shortcuts

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