unpack

package
v0.0.0-...-dae269f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallDir

func InstallDir(dst string, src string, fsys fs.FS, onInstallFile func(dst, src string)) error

InstallDir installs the directory at src within fsys to dst.

onInstallFile is called for each file or directory being installed.

If the destination path does not exist, it is created using [environment.MakeDirs] The directory is installed recursively.

Types

This section is empty.

Jump to

Keyboard shortcuts

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