file

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists added in v0.2.2

func Exists(filePath string) bool

Exists returns true if the file exists

func WriteFile

func WriteFile(filePath string, data []byte, perm os.FileMode, OverWrite bool) error

WriteFile will write a file to disk. An error is returned if the file alredy exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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