fork/gdu

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

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

master
288 B14 linesraw
1//go:build windows
2
3package remove
4
5import (
6	"fmt"
7
8	"github.com/dundee/gdu/v5/pkg/fs"
9)
10
11// MoveItemToTrash is not supported on Windows; use Unix XDG trash builds instead.
12func MoveItemToTrash(dir, item fs.Item) error {
13	return fmt.Errorf("move to trash is not supported on Windows")
14}