local

package
v0.0.91 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupTempFile

func CleanupTempFile(file *os.File)

func ConvertPathPatternToUnix added in v0.0.83

func ConvertPathPatternToUnix(pattern string) string

Convert only the path separators (backslashes) to forward slashes while preserving escape sequences.

func ConvertPathToUnix added in v0.0.82

func ConvertPathToUnix(windowsPath string) string

func CreateTarGzFile

func CreateTarGzFile(filesDir string, filePaths []string, file io.Writer) error

func DownloadAndExtractTarFile

func DownloadAndExtractTarFile(url string, outputDir string, specificFileName string) ([]string, error)

func ExtractTarGzFile

func ExtractTarGzFile(file io.Reader, outputDir string, specificFileName string) ([]string, error)

func GetFileChecksum added in v0.0.23

func GetFileChecksum(file io.Reader) (string, error)
func OpenLink(link 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