Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ThrowToTrash ¶
ThrowToTrash moves the file to system Trash bin, using the gio tool (https://docs.gtk.org/gio/). Using os.Rename in go will get 'permission denied' error in sandbox environment of Flatpak. To make it work across host OS and sandbox env, it's better to use gio here.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.