Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkDirList (0.09 sec)

  1. src/testing/fstest/testfs.go

    			return
    		}
    	}
    	t.checkDirList(dir, "first Open+ReadDir(-1) vs third Open+ReadDir(1,2) loop", list, list2)
    
    	// If fsys has ReadDir, check that it matches and is sorted.
    	if fsys, ok := t.fsys.(fs.ReadDirFS); ok {
    		list2, err := fsys.ReadDir(dir)
    		if err != nil {
    			t.errorf("%s: fsys.ReadDir: %w", dir, err)
    			return
    		}
    		t.checkDirList(dir, "first Open+ReadDir(-1) vs fsys.ReadDir", list, list2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top