JS: Expand doc string in installFromTarballurl

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Asger F
2020-09-22 14:17:51 +01:00
committed by Asger Feldthaus
parent 4e2b990d14
commit 433e3e7e4e

View File

@@ -89,6 +89,8 @@ public class AsyncFetcher {
/**
* Extracts the relevant contents of the given tarball URL in the given folder;
* the returned future completes when done.
*
* If the same tarball has already been extracted elsewhere, then symbolic links are added to `destDir` linking to the already extracted tarball.
*/
public CompletableFuture<Void> installFromTarballUrl(String tarballUrl, Path destDir) {
return tarballExtractions.get(tarballUrl, () -> {