- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WalkDir (0.06 sec)
-
src/archive/zip/reader_test.go
var files []string sawErr := false err = fs.WalkDir(z, ".", func(path string, d fs.DirEntry, err error) error { if err != nil { if !test.wantErr { t.Errorf("%s: %v", path, err) } sawErr = true return nil } files = append(files, path) return nil }) if err != nil { t.Errorf("fs.WalkDir error: %v", err) } if test.wantErr && !sawErr {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
// fetched from drives is limited by max-keys, we should use the last ILM filtered entry // as a continuation token if it is lexially higher than the last visible object so that the // next call of WalkDir() with the max-keys can reach new objects not seen previously. loi.NextMarker = merged.lastSkippedEntry } if loi.NextMarker != "" { loi.NextMarker = opts.encodeMarker(loi.NextMarker) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0)