fsinternal

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(srcPath, dstPath string) error

CopyFile Future ref: https://stackoverflow.com/a/21067803

func CreateDirectoryAllDefault added in v0.1.3

func CreateDirectoryAllDefault(location string) *errorwrapper.Wrapper

func CreateDirectoryAllUptoParent added in v0.1.3

func CreateDirectoryAllUptoParent(location string) *errorwrapper.Wrapper

func GetFileName added in v0.1.3

func GetFileName(location string) string

func IsDirectory added in v0.1.2

func IsDirectory(location string) bool

func IsPathExists added in v0.1.2

func IsPathExists(location string) bool

func ParentDir added in v0.1.3

func ParentDir(location string) string

func Read added in v0.1.2

func Read(location string, filename string) *errbyte.Results

func ReadFile added in v0.1.2

func ReadFile(filePath string) *errbyte.Results

func Remove added in v0.1.3

func Remove(location string) *errorwrapper.Wrapper

Remove Reference : https://t.ly/xnAe

func SafeRemove added in v0.1.3

func SafeRemove(location string) *errorwrapper.Wrapper

SafeRemove Reference : https://t.ly/xnAe

func Write added in v0.1.2

func Write(location string, filename string, content []byte) *errorwrapper.Wrapper

func WriteFile added in v0.1.2

func WriteFile(filePath string, content []byte) *errorwrapper.Wrapper

func WriteStringToFile added in v0.1.2

func WriteStringToFile(filePath string, content string) *errorwrapper.Wrapper

Types

This section is empty.

Jump to

Keyboard shortcuts

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