fs

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: BSD-3-Clause Imports: 16 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDataFolder

func CheckDataFolder()

CheckDataFolder = check if the data folde already exsisted

func Copy

func Copy(src, dst string) error

Copy file from source to destination

func FinalCleanUp

func FinalCleanUp()

FinalCleanUp is the final cleanup totch

func FindAndOpenPackageJSON

func FindAndOpenPackageJSON() (out types.Config, err error)

FindAndOpenPackageJSON = Find the pacakge JSON and directly open it

func FindPackageJSON

func FindPackageJSON(toCheck []string) (string, error)

FindPackageJSON = returns the location of a found package file currently this only checks in this directory and one above

func GetWallpaper

func GetWallpaper(Package types.Config) string

GetWallpaper returns the a string with a wallpaper to set from the config file or if the user doens't want that just the old wallpaper path

func MakeFile

func MakeFile(data string, filePath string) error

MakeFile a simpel wrapper around how to creat a file

func OpenPackageJSON

func OpenPackageJSON(packageJSONFile string) (out types.Config, err error)

OpenPackageJSON = returns the output of the config file

func RemoveEdgeIcon

func RemoveEdgeIcon() error

RemoveEdgeIcon = Remove the edge icon if specified by the config file

Types

This section is empty.

Jump to

Keyboard shortcuts

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