MCPcopy Create free account
hub / github.com/prometheus/common / Open

Method Open

server/static_file_server_test.go:26–28  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

24type dummyFileSystem struct{}
25
26func (dummyFileSystem) Open(string) (http.File, error) {
27 return http.Dir(".").Open(".")
28}
29
30func TestServeHttp(t *testing.T) {
31 cases := []struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected