1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-04 04:11:38 +00:00

[#52] Added file recycling support on OS X.

--HG--
extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40102
This commit is contained in:
hsoft
2009-08-31 12:04:43 +00:00
parent 4cebd142ed
commit 047b4aff0c
7 changed files with 250 additions and 13 deletions

14
base/qt/win/__init__.py Normal file
View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Created By: Virgil Dupras
# Created On: 2009-08-31
# $Id$
# Copyright 2009 Hardcoded Software (http://www.hardcoded.net)
#
# This software is licensed under the "HS" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
import winshell
def recycle_file(path):
winshell.delete_file(unicode(path), no_confirm=True)