DependencyDownloader

io.joern.php2cpg.utils.DependencyDownloader
class DependencyDownloader(cpg: Cpg, config: Config)

Queries Packgist for dependencies and downloads them.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def download(): File

Downloads dependencies and places them in a temporary directory.

Downloads dependencies and places them in a temporary directory.

Attributes

Returns

the path to the directory of downloaded dependencies. This directory is deleted on exit.