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

Class BundledFile


I represent one file as managed by a bundler.
Method Summary
  __init__(self, source, destination)
boolean hasChanged(self)
Check if the file has changed since it was last checked.
  md5sum(self)
Calculate the md5sum of the given file.
  timestamp(self)
Return the last modified timestamp for the file.

Method Details

hasChanged(self)

Check if the file has changed since it was last checked.
Returns:
boolean

md5sum(self)

Calculate the md5sum of the given file.
Returns:
the md5 sum a 32 character string of hex characters.

timestamp(self)

Returns:
the last modified timestamp for the file.

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