tools

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupFunc

type CleanupFunc func()

CleanupFunc can be invoked to cleanup any temporary state.

func UnzipTemp

func UnzipTemp(path string) (string, CleanupFunc, error)

UnzipTemp unzips a zip archive to temporary path, and returns the path. The returned cleanup function should be invoked to cleanup any temporary state when it is no longer needed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL