Package flumotion :: Package common :: Module bundle :: Class BundledFile
[hide private]

Class BundledFile

source code

I represent one file as managed by a bundler.

Instance Methods [hide private]
 
__init__(self, source, destination) source code
 
md5sum(self)
Calculate the md5sum of the given file.
source code
 
timestamp(self)
Returns: the last modified timestamp for the file.
source code
boolean
hasChanged(self)
Check if the file has changed since it was last checked.
source code
 
pack(self, zip) source code
Method Details [hide private]

md5sum(self)

source code 

Calculate the md5sum of the given file.

Returns:
the md5 sum a 32 character string of hex characters.

timestamp(self)

source code 
Returns:
the last modified timestamp for the file.