Package flumotion :: Package common :: Module registry :: Class RegistryDirectory
[hide private]

Class RegistryDirectory

source code

I represent a directory under a path managed by the registry. I can be queried for a list of partial registry .xml files underneath the given path, under the given prefix.

Instance Methods [hide private]
 
__init__(self, path, prefix='flumotion') source code
 
__repr__(self) source code
 
_getFileList(self, root)
Get all files ending in .xml from all directories under the given root.
source code
 
lastModified(self) source code
 
getFiles(self)
Return a list of all .xml registry files underneath this registry path.
source code
 
getPath(self) source code
Method Details [hide private]

_getFileList(self, root)

source code 

Get all files ending in .xml from all directories under the given root.

Parameters:
  • root (string) - the root directory under which to search
Returns:
a list of .xml files, relative to the given root directory