package untar

import "golang.org/x/build/internal/untar"

Package untar untars a tarball to disk.

Index

Functions

func Untar

func Untar(r io.Reader, dir string) error

Untar reads the gzip-compressed tar file from r and writes it into dir.

Source Files

untar.go

Version
v0.0.0-20250421191922-3619c213cff3 (latest)
Published
Apr 21, 2025
Platform
linux/amd64
Imports
12 packages
Last checked
3 months ago

Tools for package owners.