@vivantel/virage-core
    Preparing search index...

    Function downloadAndExtractTo

    • Like downloadAndExtract but extracts directly into destDir (no URL-hash subdirectory). The caller is responsible for content-addressing destDir. Returns whether the extraction was skipped because destDir already existed.

      Parameters

      • url: string
      • destDir: string
      • Optionalsha256: string
      • noCache: boolean = false
      • Optionallogger: Logger

      Returns Promise<{ cached: boolean }>