filesystem

package
v0.0.0-...-e5918c0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source string, dest string) (err error)

CopyFile : copy file

func CopyFolder

func CopyFolder(source string, dest string) (err error)

CopyFolder : copy folder

func ExpandHome

func ExpandHome(path string) string

ExpandHome : Expand home dir

func GetSettingsPath

func GetSettingsPath() string

GetSettingsPath : get settings path

func GetSubFolderList

func GetSubFolderList(root string) (folderList []string)

GetSubFolderList : get subfolder list, depth = 1

func OpenFile

func OpenFile(path string) ([]byte, error)

OpenFile : Read file into byte array

func RevealFile

func RevealFile(presetPath string)

RevealFile : reveal in finder

Types

This section is empty.

Jump to

Keyboard shortcuts

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