MCPcopy Create free account
hub / github.com/buke/quickjs-go / EvalFileName

Function EvalFileName

context.go:907–911  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

905}
906
907func EvalFileName(filename string) EvalOption {
908 return func(flags *EvalOptions) {
909 flags.filename = filename
910 }
911}
912
913func EvalAwait(await bool) EvalOption {
914 return func(flags *EvalOptions) {

Callers 6

TestContextEvaluationFunction · 0.85
EvalFileMethod · 0.85
LoadModuleMethod · 0.85
CompileModuleMethod · 0.85
CompileFileMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestContextEvaluationFunction · 0.68