embed_util

package
v0.0.0-3.12.2-20240224-3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 5

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