MCPcopy Index your code
hub / github.com/dnote/dnote / NewEngine

Function NewEngine

pkg/server/views/engine.go:34–39  ·  view source on GitHub ↗

NewEngine returns a new Engine

(filePatterns []string, fileSystem fs.FS)

Source from the content-addressed store, hash-verified

32
33// NewEngine returns a new Engine
34func NewEngine(filePatterns []string, fileSystem fs.FS) *Engine {
35 return &Engine{
36 filePatterns: filePatterns,
37 fileSystem: fileSystem,
38 }
39}
40
41// NewDefaultEngine returns a new default Engine
42func NewDefaultEngine() *Engine {

Callers 1

NewDefaultEngineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected