MCPcopy Create free account
hub / github.com/CloudyKit/jet / embedFileSystemLoader

Struct embedFileSystemLoader

loaders/embedfs/loader.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type embedFileSystemLoader struct {
14 dir string
15 fs embed.FS
16}
17
18// NewLoader returns an initialized loader serving the passed embed.FS.
19func NewLoader(dirPath string, fs embed.FS) jet.Loader {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected