Package motherhamster :: Module fooddish :: Class FoodDishDirectory

Class FoodDishDirectory



object --+
         |
        FoodDishDirectory

Simple class for a file/directory abstraction for finding assets

Instance Methods
 
__init__(self, relative_path)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
FindSubdirectoryPaths(self)
 
GetAssetPath(self, directory, asset_id, extension)
 
FindFilesByExtension(self, extension_list)
given a list of extensions (lowercase, including the .), this routine will return a list of all the valid asset_path's
 
GetRootPath(self)
 
open(self, asset_path, open_flags)
 
is_writable(self, asset_path)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, relative_path)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)