dir

package
v0.0.0-...-bcacd0f Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeCommonDir  os.FileMode = 0775 // unix common user's directory default permission.
	ModeCommonFile os.FileMode = 0664 // unix common user's file default permission.
)
View Source
const (
	DefaultDirName string = "vane_components" // default hold directory of installed package.
)

Variables

View Source
var (
	ERR_MK_SAVE_DIR = errors.New("make package saved directory failed.")
)

Functions

func DirIsExist

func DirIsExist(dirName string) bool

DirIsExist inspect the installation directory exist or not exist.

func GotoComponentsDir

func GotoComponentsDir(dirComponents string)

GotoComponentsDir go to the package saved directory.

func MkSavedDir

func MkSavedDir(dirName string) error

MkSavedDir create the default direatory which name is "vane_components".

func MkSavedDirAndIn

func MkSavedDirAndIn(dir string) error

MkSavedDirAndIn make the directory and in.

func ParseDirAndMake

func ParseDirAndMake(name 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