Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupTestReadDirEmpty (0.08 sec)

  1. cmd/os-readdir_test.go

    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top