MCPcopy
hub / github.com/hashicorp/go-getter / testHttpHandlerMetaSubdir

Function testHttpHandlerMetaSubdir

get_http_test.go:1107–1109  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1105}
1106
1107func testHttpHandlerMetaSubdir(w http.ResponseWriter, r *http.Request) {
1108 w.Write([]byte(fmt.Sprintf(testHttpMetaStr, testModuleURL("basic//subdir").String())))
1109}
1110
1111func testHttpHandlerMetaSubdirGlob(w http.ResponseWriter, r *http.Request) {
1112 w.Write([]byte(fmt.Sprintf(testHttpMetaStr, testModuleURL("basic//sub*").String())))

Callers

nothing calls this directly

Calls 2

testModuleURLFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected