sindresorhus/trash

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

开放

#107 创建于 2020年12月11日

 (5 条评论) (1 个反应) (0 位负责人)JavaScript (81 个派生)user submission
bughelp wanted

仓库指标

星标
 (2,660 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南