- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for globalWindowsOSName (0.09 sec)
-
cmd/xl-storage-errors_test.go
} pathErr = &os.PathError{Err: syscall.ENOTDIR} ok = isSysErrNotDir(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTDIR) } if runtime.GOOS != globalWindowsOSName { pathErr = &os.PathError{Err: syscall.ENOTEMPTY} ok = isSysErrNotEmpty(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY) } } else {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.7K bytes - Viewed (0) -
cmd/xl-storage-errors.go
if runtime.GOOS == globalWindowsOSName { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_DIR_NOT_EMPTY return errno == 0x91 } } } return false } // Check if the given error corresponds to the specific ERROR_PATH_NOT_FOUND for windows func isSysErrPathNotFound(err error) bool { if runtime.GOOS != globalWindowsOSName { var pathErr *os.PathError
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
cmd/update-notifier.go
topLeftChar := "┏" topRightChar := "┓" bottomLeftChar := "┗" bottomRightChar := "┛" horizBarChar := "━" vertBarChar := "┃" // on windows terminal turn off unicode characters. if runtime.GOOS == globalWindowsOSName { topLeftChar = "+" topRightChar = "+" bottomLeftChar = "+" bottomRightChar = "+" horizBarChar = "-" vertBarChar = "|" } lines := []string{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/service.go
// arguments as when it was originally started. This allows for a newly // deployed binary to be started. It returns the pid of the newly started // process when successful. func restartProcess() error { if runtime.GOOS == globalWindowsOSName { cmd := exec.Command(os.Args[0], os.Args[1:]...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin cmd.Env = os.Environ() err := cmd.Run() if err == nil { os.Exit(0)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/object-api-input-checks.go
if len(object) == 0 { return ObjectNameInvalid{Bucket: bucket, Object: object} } if !IsValidObjectPrefix(object) { return ObjectNameInvalid{Bucket: bucket, Object: object} } if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") { // Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`. return ObjectNameInvalid{Bucket: bucket, Object: object} } return nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/server-rlimit.go
} } var maxLimit uint64 // Set open files limit to maximum. if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil { return err } if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName { logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"", maxLimit) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 02 15:09:36 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
suite.SetUpSuite(c) suite.TestDeleteUserRace(c) suite.TearDownSuite(c) } func TestIAMInternalIDPConcurrencyServerSuite(t *testing.T) { if runtime.GOOS == globalWindowsOSName { t.Skip("windows is clunky") } baseTestCases := []TestSuiteCommon{ // Init and run test on ErasureSD backend with signature v4. {serverType: "ErasureSD", signer: signerV4},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine())) if !globalBootTime.IsZero() { m.Set(processUptimeSeconds, time.Since(globalBootTime).Seconds()) } if runtime.GOOS != globalWindowsOSName && runtime.GOOS != globalMacOSName { p, err := procfs.Self() if err != nil { metricsLogIf(ctx, err) } else { loadProcFSMetrics(ctx, p, m) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/os-readdir_test.go
return testResults } // Test to read non-empty directory with symlinks. func setupTestReadDirSymlink(t *testing.T) (testResults []result) { if runtime.GOOS == globalWindowsOSName { t.Skip("symlinks not available on windows") return nil } dir := t.TempDir() entries := []string{} for i := range 10 { name1 := fmt.Sprintf("file-%d", i)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0)