bundle

package module
v0.0.0-...-9de2a35 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Unlicense Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// one entrypoint to rule them all
	// one entrypoint to find them
	// one entrypoint to bring them all
	// and in the darkness require() them
	Entrypoint         = "main"
	EntrypointFilename = Entrypoint + ".luau"
	// (okay, init.luau doesn't work since *that* RFC)
	InvalidEntrypiont = "init.luau"
	DataDir           = "./data"
	ProgramsDir       = DataDir + "/programs"
)

Variables

This section is empty.

Functions

func Bundle

func Bundle(path string) (b []byte, err error)

func BundleStored

func BundleStored(hexhash string) (b bool)

func UnbundleToDir

func UnbundleToDir(b []byte) (entrypath string, err error)

Types

type File

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

func Unbundle

func Unbundle(b []byte) (fs []File, err error)

Jump to

Keyboard shortcuts

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