Skip to content

Commit 433e3e7

Browse files
asgerferik-krogh
andcommitted
JS: Expand doc string in installFromTarballurl
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
1 parent 4e2b990 commit 433e3e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/extractor/src/com/semmle/js/dependencies/AsyncFetcher.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ private static class ExtractionResult {
8989
/**
9090
* Extracts the relevant contents of the given tarball URL in the given folder;
9191
* the returned future completes when done.
92+
*
93+
* If the same tarball has already been extracted elsewhere, then symbolic links are added to `destDir` linking to the already extracted tarball.
9294
*/
9395
public CompletableFuture<Void> installFromTarballUrl(String tarballUrl, Path destDir) {
9496
return tarballExtractions.get(tarballUrl, () -> {

0 commit comments

Comments
 (0)