deletepaths

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(locations ...string) *errorwrapper.Wrapper

func AllContinueOnError

func AllContinueOnError(
	errorCollection *errwrappers.Collection,
	locations []string,
) (isSuccess bool)

func AllContinueOnErrorIfExists added in v0.1.8

func AllContinueOnErrorIfExists(
	isRemoveExistOnly bool,
	errorCollection *errwrappers.Collection,
	locations []string,
) (isSuccess bool)

func AllOnExist added in v0.1.8

func AllOnExist(locations ...string) *errorwrapper.Wrapper

func AllOnExistIf added in v0.1.8

func AllOnExistIf(
	isRemoveOnExist bool,
	locations ...string,
) *errorwrapper.Wrapper

func AllRecursive

func AllRecursive(locations []string) *errorwrapper.Wrapper

func AllRecursiveContinueOnError

func AllRecursiveContinueOnError(
	errorCollection *errwrappers.Collection,
	locations []string,
) (isSuccess bool)

func AllRecursiveContinueOnErrorIfExist added in v0.1.8

func AllRecursiveContinueOnErrorIfExist(
	isRemoveExistOnly bool,
	errorCollection *errwrappers.Collection,
	locations []string,
) (isSuccess bool)

func AllRecursiveOnExist added in v0.1.8

func AllRecursiveOnExist(locations []string) *errorwrapper.Wrapper

func AllRecursiveOnExistIf added in v0.1.8

func AllRecursiveOnExistIf(
	isRemoveOnExistOnly bool,
	locations []string,
) *errorwrapper.Wrapper

func Recursive

func Recursive(location string) *errorwrapper.Wrapper

func RecursiveIf added in v0.2.9

func RecursiveIf(isRemove bool, location string) *errorwrapper.Wrapper

func RecursiveOnExist added in v0.3.5

func RecursiveOnExist(location string) *errorwrapper.Wrapper

func RecursiveOnExistIf added in v0.3.5

func RecursiveOnExistIf(isRemove bool, location string) *errorwrapper.Wrapper

func Single

func Single(location string) *errorwrapper.Wrapper

func SingleAllOnExist added in v0.7.0

func SingleAllOnExist(location string) *errorwrapper.Wrapper

func SingleIf added in v0.2.6

func SingleIf(
	isRemove bool,
	location string,
) *errorwrapper.Wrapper

func SingleOnExist added in v0.1.8

func SingleOnExist(location string) *errorwrapper.Wrapper

func SingleOnExistIf added in v0.2.6

func SingleOnExistIf(
	isRemove bool,
	location string,
) *errorwrapper.Wrapper

func SingleOrRecursiveOnCondition added in v0.2.6

func SingleOrRecursiveOnCondition(
	condition Condition,
	location string,
) *errorwrapper.Wrapper

func SingleRecursiveOnExist added in v0.5.7

func SingleRecursiveOnExist(
	location string,
) *errorwrapper.Wrapper

Types

type Condition added in v0.2.6

type Condition struct {
	IsRemove           bool
	IsRecursive        bool
	IsExistBeforeClear bool
}

Jump to

Keyboard shortcuts

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