jsFile

package
v1.19.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSFile

type JSFile struct {
	Path    string // Full file path for the build context the file came from.
	ModTime time.Time
	Content []byte
}

JSFile represents a *.inc.js file metadata and content.

func JSFilesFromDir

func JSFilesFromDir(bctx *build.Context, dir string) ([]JSFile, error)

JSFilesFromDir finds and loads any *.inc.js packages in the build context directory.

Jump to

Keyboard shortcuts

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