FOSSology  4.5.1
Open Source License Compliance by Open Source Software
ScanDeps.Downloader.Downloader Class Reference
Collaboration diagram for ScanDeps.Downloader.Downloader:
Collaboration graph

Public Member Functions

def __init__ (self)
 
def download_concurrently (self, Parser parser)
 

Public Attributes

 parser
 
 lock
 
 download_timeout
 

Private Member Functions

str __get_archive_base_dir (self, str archive_path)
 
None __download_package (self, dict component)
 

Detailed Description

Class for parallely downloading dependencies from download urls.

Definition at line 22 of file Downloader.py.

Member Function Documentation

◆ __get_archive_base_dir()

str ScanDeps.Downloader.Downloader.__get_archive_base_dir (   self,
str  archive_path 
)
private
Determines the base directory within an extracted archive.
Assumes a common pattern where archives may contain a single top-level
directory or none.

Definition at line 32 of file Downloader.py.

◆ download_concurrently()

def ScanDeps.Downloader.Downloader.download_concurrently (   self,
Parser  parser 
)
Download files concurrently from a list of urls

Definition at line 204 of file Downloader.py.


The documentation for this class was generated from the following file: