freedesktop

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrashCan

type TrashCan struct {
	// contains filtered or unexported fields
}

func HomeTrash

func HomeTrash(create bool) (*TrashCan, error)

HomeTrash is the trashcan using XDG_DATA_HOME/Trash

func TmpTrash

func TmpTrash() *TrashCan

TmpTrash is the trashcan for test

func (*TrashCan) Throw

func (T *TrashCan) Throw(filename string) error

Jump to

Keyboard shortcuts

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