internal

package
v0.61.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FTLSourceRoot added in v0.58.4

func FTLSourceRoot() string

func Scaffold

func Scaffold(destination string, ctx any) error

Scaffold evaluates the scaffolding files at the given destination against ctx.

func UnzipDir added in v0.45.0

func UnzipDir(zipReader *zip.Reader, destDir string) error

UnzipDir unzips a ZIP archive into the specified directory.

func ZipDir added in v0.45.0

func ZipDir(srcDir, destZipFile string) error

func ZipRelativeToCaller added in v0.58.4

func ZipRelativeToCaller(relativePath string) *zip.Reader

ZipRelativeToCaller creates a temporary zip file from a path relative to the caller.

This function will leak a file descriptor and thus can only be used in development.

Types

This section is empty.

Jump to

Keyboard shortcuts

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