GetArchive gets the GitHub archive and untars it to the output directory path. The root directory within the tarball is stripped. If the directory already exists, this is a no-op. Uses file locking to make sure the no-op works properly across multiple process invocations, which is needed for examp
( ctx context.Context, outputDirPath string, owner string, repository string, ref string, )
| 36 | // |
| 37 | // Only use for testing. |
| 38 | GetArchive( |
| 39 | ctx context.Context, |
| 40 | outputDirPath string, |
| 41 | owner string, |
no outgoing calls
no test coverage detected