recycle

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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 NewCommandRecycle added in v1.3.0

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