embed_util

package
v0.0.0-...-33ff807 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyForEmbed

func CopyForEmbed(out string, dir string) error

func WriteEmbedGoFile

func WriteEmbedGoFile(targetDir string, goOs string, goArch string) error

Types

type EmbeddedFiles

type EmbeddedFiles struct {
	// contains filtered or unexported fields
}

func NewEmbeddedFiles

func NewEmbeddedFiles(embedFs fs.FS, name string) (*EmbeddedFiles, error)

func NewEmbeddedFilesWithTmpDir

func NewEmbeddedFilesWithTmpDir(embedFs fs.FS, tmpDir string, withHashInDir bool) (*EmbeddedFiles, error)

func (*EmbeddedFiles) Cleanup

func (e *EmbeddedFiles) Cleanup() error

func (*EmbeddedFiles) GetExtractedPath

func (e *EmbeddedFiles) GetExtractedPath() string

Jump to

Keyboard shortcuts

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