- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Peal (0.15 sec)
-
cmd/xl-storage_test.go
err := os.WriteFile(dir2, []byte("hello"), 0o777) if err != nil { t.Fatal(err) } if isDirEmpty(dir2, true) { t.Error("expected false for a file, got true") } // Should give true for a real empty directory. dir3 := slashpath.Join(tmp, "empty") err = os.Mkdir(dir3, 0o777) if err != nil { t.Fatal(err) } if !isDirEmpty(dir3, true) { t.Error("expected true for empty dir, got false")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0)