MCPcopy
hub / github.com/minio/minio-go / getMintDataDirFilePath

Function getMintDataDirFilePath

functional_tests.go:299–304  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

297var mintDataDir = os.Getenv("MINT_DATA_DIR")
298
299func getMintDataDirFilePath(filename string) (fp string) {
300 if mintDataDir == "" {
301 return fp
302 }
303 return filepath.Join(mintDataDir, filename)
304}
305
306func newRandomReader(seed, size int64) io.Reader {
307 return io.LimitReader(rand.New(rand.NewSource(seed)), size)

Callers 9

getDataReaderFunction · 0.85
testFPutObjectMultipartFunction · 0.85
testFPutObjectFunction · 0.85
testFPutObjectContextFunction · 0.85
testFPutObjectContextV2Function · 0.85
testPresignedPostPolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected