MCPcopy Create free account
hub / github.com/emc-advanced-dev/layerx / Static

Function Static

layerx-core/bindata/handler.go:14–94  ·  view source on GitHub ↗

Static returns a middleware handler that serves static files in the given directory.

(staticOpt ...martini.StaticOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

prepareStaticOptionsFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected