3. Global Functions and Modules List

Author:Chris Warrick <chris@chriswarrick.com>
Copyright:© 2011-2018, Chris Warrick.
License:BSD (see /LICENSE or Appendix B.)
Date:2015-03-07
Version:1.5.0

This is an auto-generated documentation of the Trashman suite. It is bare-bones, and you’d be better off reading the source code yourself.

3.1. __init__.py

3.1.1. trashman

A Python trash manager.

Copyright:© 2011-2018, Chris Warrick.
License:BSD (see /LICENSE).
exception trashman.__init__.TMError(src, info, msg)[source]

Exceptions raised by the Trashman.

trashman.__init__.size_dir(sdir)[source]

Get the size of a directory. Based on code found online.

3.2. tmds.py (TMDS — Trashman Data Storage)

3.2.1. trashman.TMDS

Trashman Data Storage.

Copyright:© 2011-2018, Chris Warrick.
License:BSD (see /LICENSE).
class trashman.tmds.TMDS[source]

Trashman Data Storage.

critical(msg)[source]

Show a critical error and log it.

error(msg)[source]

Show an error and log it.

info(msg)[source]

Show an information and log it.

warning(msg)[source]

Show a warning and log it.

3.3. main.py (main())