Logo Search packages:      
Sourcecode: sabayon version File versions  Download package

def lib::storage::ProfileStorage::get_attributes (   self,
  path 
)

Return the attributes associated with a file or directory
from the profile.

@path: the relative path of the file or directory to look up.
This is the same path used with ProfileStorage::add().

Return value: a dictionary containing the key/value pairs
passed to ProfileStorage::add().

Definition at line 605 of file storage.py.

00605                                    :
        """Return the attributes associated with a file or directory
        from the profile.

        @path: the relative path of the file or directory to look up.
        This is the same path used with ProfileStorage::add().

        Return value: a dictionary containing the key/value pairs
        passed to ProfileStorage::add().
        """
        node = self.__get_node (path)
        if node is None:
            return {}
        return self.__get_node_attributes (node)

    def get_source (self, path):


Generated by  Doxygen 1.6.0   Back to index