Move files to trash can programmatically
To use this package, put the following dependency into your project's dependencies section:
This package provides sub packages which can be used individually:
trashcan:put - A minimal D application.
Move files and directories to trash can (Recycle bin) in D programming language. Currently it contains only one function moveToTrash which places passed file or directory to trash can.
On Freedesktop environments (e.g. GNU/Linux) the library will follow Trash Can Specification.
On Windows SHFileOperation is used.
On OSX FSMoveObjectToTrashSync is used.
Other platforms are not supported.
- Interface for observing the trash can contents (something like VFS).
- Ability to restore deleted files.
Run to put file or directory to trash can:
dub run :put -- path/to/file
- Registered by Roman Chistokhodov
- Copyright © 2016, Roman Chistokhodov
- Roman Chistokhodov
- Sub packages:
0.2.3 2018-Feb-13 0.2.2 2017-Mar-28 0.2.1 2016-Sep-26 0.2.0 2016-Jul-27 0.1.0 2016-Jun-23
- Download Stats:
0 downloads today
0 downloads this week
1 downloads this month
63 downloads total