files

package
v0.0.0-...-d7a6171 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirIfNotExist

func CreateDirIfNotExist(dir string) error

CreateDirIfNotExist is a func that creates a director path if it does not exist.

func IsFile

func IsFile(path string) (isFile bool, err error)

IsFile checks to see if a file exists on a defined path.

func IsWritable

func IsWritable(path string) (isWritable bool, err error)

IsWritable checks to see if a user has permissions to write a file to a directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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