sindresorhus/trash

Trashing a file on Windows deletes it unrecoverably if no recycle bin is enabled

Open

#107 创建于 2020年12月11日

在 GitHub 查看
 (5 评论) (1 反应) (0 负责人)JavaScript (2,660 star) (81 fork)user submission
bughelp wanted

描述

Similar to #56, but probably has to be solved in a different way for Windows. This was reported by a user in my app losslesscut https://github.com/mifi/lossless-cut/issues/537 When he trashed a file on a network mounted drive (which has no trash), the file just got removed permanently.

贡献者指南