filesys

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppEnvironVar = "CTIROOT"
	AppUserDir    = ".cti"
)

Variables

This section is empty.

Functions

func ComputeFileHexdigest

func ComputeFileHexdigest(filePath string) (string, error)

func GetBaseName

func GetBaseName(fileName string) string

GetBaseName Get filename without extension.

func GetDirName

func GetDirName(filePath string) string

func GetPkgCacheDir

func GetPkgCacheDir() (string, error)

func GetRootDir

func GetRootDir() (string, error)

func OpenZipFile

func OpenZipFile(source string, fpath string) ([]byte, error)

func UnzipToFS

func UnzipToFS(source string, destination string) ([]string, error)

func WalkDir

func WalkDir(root, ext string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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