fileutil

package
v0.1.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(dir string) string

func CWD

func CWD() (string, error)

func CreateIfNotExist

func CreateIfNotExist(f string) error

func DirExists

func DirExists(filename string) (bool, error)

DirExists returns true if the directory exists.

func FileExists

func FileExists(filename string) (bool, error)

FileExists returns true if the file exists

func RemoveAll

func RemoveAll(dirname string) error

func RootDir

func RootDir() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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