Module

std/archive/mod.ts>Untar#extract

Deno standard library
Go to Latest
method Untar.prototype.extract
import { Untar } from "https://dotland.deno.dev/std@0.215.0/archive/mod.ts";

Extract the next entry of the tar archive.

Returns

Promise<TarEntry | null>

A TarEntry with header metadata and a reader to the entry's body, or null if there are no more entries to extract.