MCPcopy
hub / github.com/valyala/fasthttp / TestFSByteRangeSingleThreadSkipCache

Function TestFSByteRangeSingleThreadSkipCache

fs_test.go:521–533  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

519}
520
521func TestFSByteRangeSingleThreadSkipCache(t *testing.T) {
522 // This test can't run parallel as files in / might be changed by other tests.
523
524 stop := make(chan struct{})
525 defer close(stop)
526
527 runFSByteRangeSingleThread(t, &FS{
528 Root: ".",
529 AcceptByteRange: true,
530 SkipCache: true,
531 CleanStop: stop,
532 })
533}
534
535func runFSByteRangeSingleThread(t *testing.T, fs *FS) {
536 t.Helper()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…