fileUtil

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDirExists

func EnsureDirExists(path string)

func GetDirs

func GetDirs(path string) []os.DirEntry

func GetFilesCount

func GetFilesCount(path string) int

func GetPathSeparator added in v0.0.29

func GetPathSeparator() string

func ReadFile added in v0.0.27

func ReadFile(root string, path string) ([]byte, string, string)

func RemoveDir

func RemoveDir(path string) error

func RemoveFile

func RemoveFile(path string) error

func Save

func Save(filepath string, data []byte) error

func Upload

func Upload(root string, filename string, data []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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