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

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

Return the source 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 source identifier.

Definition at line 620 of file storage.py.

00620                                :
        """Return the source 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 source identifier.
        """
        node = self.__get_node (path)
        if node is None:
            return None
        return self.__get_node_source (node)

#
# Unit tests
#
def run_unit_tests ():


Generated by  Doxygen 1.6.0   Back to index