recycle

package
v3.9.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatError = errors.New("fileinfo.Sys() is not *syscall.Stat_t")

Functions

func CheckEmpty

func CheckEmpty(dir string) error

CheckEmpty returns error if specified directory is not empty.

func NewCommandRecycle

func NewCommandRecycle(name string, out io.Writer) *cobra.Command

NewCommandRecycle provides a CLI handler for recycling volumes

func Recycle

func Recycle(dir string) error

Recycle recursively deletes files and folders within the given path. It does not delete the path itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

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