cmd

package
v0.0.0-...-5d8ba82 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CliTrashList

func CliTrashList()

func DeleteItem

func DeleteItem(i string)

TODO: add error handling and checks

func GetTrashDir

func GetTrashDir() string

func IsHome

func IsHome(path string) bool

func RestoreItem

func RestoreItem(i string)

TODO: add error handling and file checks

func RestoreItemLocal

func RestoreItemLocal(i string)

TODO: add error handling and file checks

func TrashPut

func TrashPut(path []string)

Types

type Item

type Item struct {
	Name         string
	Type         string
	Size         string
	Path         string
	DeletionDate string
	IsChecked    bool
}

func GetEntries

func GetEntries() ([]Item, error)

Jump to

Keyboard shortcuts

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