ffiles

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: GPL-3.0 Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source string, destin string) error

func CopyFolder

func CopyFolder(source string, destination string) error

func Exists

func Exists(path string) (bool, error)

func GetCacheDirFor added in v2.1.1

func GetCacheDirFor(program string) (string, error)

func GetConfigDirFor

func GetConfigDirFor(program string) (string, error)

func GetLogDirFor

func GetLogDirFor(program string) (string, error)

func GetRuntimeDir

func GetRuntimeDir() (string, error)

func IsDir

func IsDir(path string) bool

func IsFile

func IsFile(path string) bool

func ListFilesRecursively

func ListFilesRecursively(folder string) ([]string, error)

func ReadLines

func ReadLines(file string) ([]string, error)

func WriteLines

func WriteLines(file string, lines []string) error

func WriteNewFile

func WriteNewFile(file string, content 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