Source.obtain

Obtain the source code. Implementation for local directories will simply return the local source dir, without consideration of the workDir. Implementation of source fetching (archive or scm) will download and extract (or clone) the source tree into workDir.

interface Source
string
obtain
(
in string workDir
)

Parameters

workDir
Type: string

work directory that should preferably be used to download and extract the source code.

Return Value

Type: string

the path to the src root directory.

Meta