Package flumotion :: Package common :: Module bundle :: Class Unbundler
[show private | hide private]
[frames | no frames]

Class Unbundler


I unbundle bundles by unpacking them in the given directory under directories with the bundle's md5sum.
Method Summary
  __init__(self, directory)
string unbundle(self, bundle)
Unbundle the given bundle.
  unbundlePath(self, bundle)
Return the full path where this bundle will/would be unbundled to.
  unbundlePathByInfo(self, name, md5sum)
Return the full path where a bundle with the given name and md5sum would be unbundled to.

Method Details

unbundle(self, bundle)

Unbundle the given bundle.
Parameters:
bundle
           (type=flumotion.common.bundle.Bundle)
Returns:
the full path to the directory where it was unpacked
           (type=string)

unbundlePath(self, bundle)

Return the full path where this bundle will/would be unbundled to.

unbundlePathByInfo(self, name, md5sum)

Return the full path where a bundle with the given name and md5sum would be unbundled to.

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net