rosclean Namespace Reference

Classes

class  ROSCleanException

Functions

def _get_check_dirs
def _rosclean_cmd_check
def _rosclean_cmd_purge
def _usage
def get_disk_usage
def get_human_readable_disk_usage
def rosclean_main

Function Documentation

def rosclean::_get_check_dirs (  )  [private]

Definition at line 55 of file rosclean.py.

def rosclean::_rosclean_cmd_check (   argv  )  [private]

Definition at line 62 of file rosclean.py.

def rosclean::_rosclean_cmd_purge (   argv  )  [private]

Definition at line 108 of file rosclean.py.

def rosclean::_usage (  )  [private]

Definition at line 46 of file rosclean.py.

def rosclean::get_disk_usage (   d  ) 
Get disk usage in bytes for directory
@param d: directory path
@type  d: str
@return: disk usage in bytes (du -b) or (du -A) * 1024
@rtype: int
@raise ROSCleanException: if get_disk_usage() cannot be used on this platform

Definition at line 85 of file rosclean.py.

def rosclean::get_human_readable_disk_usage (   d  ) 
Get human-readable disk usage for directory
@param d: directory path
@type  d: str
@return: human-readable disk usage (du -h)
@rtype: str

Definition at line 68 of file rosclean.py.

def rosclean::rosclean_main (   argv = None  ) 

Definition at line 119 of file rosclean.py.

 All Classes Namespaces Files Functions


rosclean
Author(s): Ken Conley
autogenerated on Fri Jan 11 10:08:53 2013