Package flumotion :: Package common :: Module vfs
[hide private]

Module vfs

source code

Virtual File System API. This module contains the API used to invoke the virtual file system. The virtual file system is a simple way of listing files, directories and their metadata. It's designed to be used over twisted.spread and is thus using deferreds.

Functions [hide private]
deferred that will fire an object implementing IDirectory
listDirectory(path)
List the directory called path Raises flumotion.common.errors.NotDirectoryError if directoryName is not a directory.
source code
 
_registerBackends() source code
 
registerVFSJelly()
Register the jelly used by different backends
source code
Variables [hide private]
  _backends = []
  __package__ = 'flumotion.common'
Function Details [hide private]

listDirectory(path)

source code 

List the directory called path Raises flumotion.common.errors.NotDirectoryError if directoryName is not a directory.

Parameters:
  • path (string) - the name of the directory to list
Returns: deferred that will fire an object implementing IDirectory
the directory