Documentation ¶
Overview ¶
Package recyclebin implements functions to use Trash (or Recycle Bin).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecycleBin ¶
type RecycleBin interface { Recycle(filename string) error Restore(trashFilename string) error Remove(trashFilename string) error Empty() error }
func ForLocation ¶
func ForLocation(location string) (RecycleBin, error)
func NewRecycleBin ¶
func NewRecycleBin(location string) RecycleBin
Click to show internal directories.
Click to hide internal directories.