createdir

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDirectoryFileMode = consts.DefaultDirectoryFileMode
	DefaultFileMode          = consts.DefaultFileMode
)

Variables

This section is empty.

Functions

func All added in v0.1.3

func All(location string, mode os.FileMode) *errorwrapper.Wrapper

func AllDefaultMode added in v0.1.3

func AllDefaultMode(location string) *errorwrapper.Wrapper

func AllOnNonExist added in v0.2.2

func AllOnNonExist(
	location string,
	mode os.FileMode,
) *errorwrapper.Wrapper

func AllRecurse

func AllRecurse(path string, fileMode os.FileMode) *dirinfo.Result

AllRecurse Create all sub-directories and create the final directory

func AllRecurseIf

func AllRecurseIf(
	condition bool,
	path string,
	fileMode os.FileMode,
) *dirinfo.Result

func AllUptoParent added in v0.1.3

func AllUptoParent(location string) *errorwrapper.Wrapper

func New

func New(path string, fileMode os.FileMode) *dirinfo.Result

New Create directory and create the final directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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