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

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

Return the src path of a file or directory for extraction from the profile.

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

Definition at line 445 of file storage.py.

00445                                          :
        """Return the src path of a file or directory for extraction from the profile.

        @path: the relative path of the file or directory to extract.
        This is the same path used with ProfileStorage::add().
        """
        extract_src_path = os.path.join (self.temp_path, path)

        dprint ("Extract src path for '%s'  is '%s'", path, extract_src_path)
        
        return os.path.normpath (extract_src_path)

    def extract (self, path, dst_dir, overwrite = False):


Generated by  Doxygen 1.6.0   Back to index