Skip to main content
Module

std/archive/untar.ts>Untar#extract

The Deno Standard Library
Go to Latest
method Untar.prototype.extract
import { Untar } from "https://deno.land/std@0.223.0/archive/untar.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.