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

def lib::storage::ProfileStorage::list (   self,
  source = None 
)

List the current contents of the profile.

@source: an (optional) identifier of the source whose
files should be listed. This is identifier as @source
passed to ProfileStorage::add().

Return value: a list of (@source, @path) tuples.

Definition at line 482 of file storage.py.

00482                                   :
        """List the current contents of the profile.

        @source: an (optional) identifier of the source whose
        files should be listed. This is identifier as @source
        passed to ProfileStorage::add().

        Return value: a list of (@source, @path) tuples.
        """
        def listify (source, path, retval):
            retval.append ((source, path))

        retval = []
        self.foreach (listify, retval, source)

        return retval

    def __foreach_node (self, node, callback, user_data, source):


Generated by  Doxygen 1.6.0   Back to index