fileutil

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureFileName

func EnsureFileName(path string, shouldGzip, unique bool) string

func EnsureFileSuffix

func EnsureFileSuffix(filename string, shouldGzip bool) string

Ensure a file has proper file extension.

func GenerateRandomName

func GenerateRandomName(n int) string

func WorkDir

func WorkDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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