osutil

package
v0.0.0-...-4fbf60d Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirs

func CreateDirs(dirPaths ...string) error

CreateDirs creates directories from the given directory path arguments.

func DirExists

func DirExists(path string) (bool, error)

DirExists checks whether the given path exists and belongs to a directory.

func FileExists

func FileExists(path string) (bool, error)

FileExists checks whether the given path exists and belongs to a file.

func GetUserHomeDir

func GetUserHomeDir() (string, error)

GetUserHomeDir returns the home directory of the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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