recycle

package
v0.0.0-...-d3d374b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 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

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