fork/gdu

git clone https://git.julia.blue/fork/gdu

cosmolifeat: move items to XDG trash with D key (#12) (#608)9ca5c60

ignore
346 B15 linesraw
1//go:build darwin
2
3package remove
4
5import (
6	"fmt"
7
8	"github.com/dundee/gdu/v5/pkg/fs"
9)
10
11// MoveItemToTrash is not supported on macOS. The XDG trash location is ignored
12// by Finder, so use permanent delete (d) or empty (e) instead.
13func MoveItemToTrash(dir, item fs.Item) error {
14	return fmt.Errorf("move to trash is not supported on macOS")
15}