MCPcopy Create free account
hub / github.com/devopsfaith/api2html / NewStaticHandler

Function NewStaticHandler

engine/handler.go:140–147  ·  view source on GitHub ↗

NewStaticHandler creates a StaticHandler using the content of the received path

(path string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestNewStaticHandlerFunction · 0.85
TestNewStaticHandler_koFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestNewStaticHandlerFunction · 0.68
TestNewStaticHandler_koFunction · 0.68