fork/gdu
git clone https://git.julia.blue/fork/gdu
9ca5c60
master
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 { 14return fmt .Errorf ("move to trash is not supported on macOS" ) 15}