package
module
Version:
v0.0.0-...-725f511
Opens a new window with list of versions in this module.
Published: Mar 4, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
README
¶
go-trash is a cross-platform package to move files to trash. OSX, Windows and Linux (tested on Ubuntu) are supported.
Installing
go get https://github.com/laurent22/go-trash
Building
-
On Windows, it builds successfully with MinGW, in MSYS shell.
-
On OSX and Linux, it should build as is.
Documentation
http://godoc.org/github.com/laurent22/go-trash
License
MIT
Documentation
¶
Tells whether it is possible to move a file to the trash
Move the given file to the trash
filePath must be an absolute path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.