embed_util

package
v0.0.0-3.12.3-20240415-2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 17 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndWriteFilesList

func BuildAndWriteFilesList(dir string) error

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