MCPcopy Create free account
hub / github.com/imroc/req / GetTestFilePath

Function GetTestFilePath

internal/tests/file.go:16–18  ·  view source on GitHub ↗

GetTestFilePath return test file absolute path.

(filename string)

Source from the content-addressed store, hash-verified

14
15// GetTestFilePath return test file absolute path.
16func GetTestFilePath(filename string) string {
17 return filepath.Join(testDataPath, filename)
18}

Callers 12

getTestFileContentFunction · 0.92
handleGetFunction · 0.92
TestSetRootCertFromFileFunction · 0.92
TestSetCertFromFileFunction · 0.92
TestSetOutputDirectoryFunction · 0.92
TestEnableDumpAllToFileFunction · 0.92
TestEnableDumpToFIleFunction · 0.92
TestUploadMultipartFunction · 0.92
TestSetFileWithRetryFunction · 0.92
TestSetFileFunction · 0.92
TestSetFilesFunction · 0.92
TestSniffFunction · 0.92

Calls

no outgoing calls

Tested by 12

getTestFileContentFunction · 0.74
handleGetFunction · 0.74
TestSetRootCertFromFileFunction · 0.74
TestSetCertFromFileFunction · 0.74
TestSetOutputDirectoryFunction · 0.74
TestEnableDumpAllToFileFunction · 0.74
TestEnableDumpToFIleFunction · 0.74
TestUploadMultipartFunction · 0.74
TestSetFileWithRetryFunction · 0.74
TestSetFileFunction · 0.74
TestSetFilesFunction · 0.74
TestSniffFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…