- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for globalSync (0.04 seconds)
-
cmd/os_windows.go
} case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0: name += SlashSeparator } count-- entries = append(entries, name) } return entries, nil } func globalSync() { // no-op on windows } func syscallErrToFileErr(dirPath string, err error) error { switch err { case nil: return nil case syscall.ERROR_FILE_NOT_FOUND: return errFileNotFound
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5K bytes - Click Count (0) -
cmd/os_other.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Click Count (0) -
cmd/os_unix.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/xl-storage.go
dstFilePath := pathJoin(filePath, xlStorageFormatFile) // Renaming xl.json to xl.meta should be fully synced to disk. defer func() { if err == nil && s.globalSync { // Sync to disk only upon success. globalSync() } }() if err = Rename(srcFilePath, dstFilePath); err != nil { switch { case isSysErrNotDir(err): return errFileNotFound
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0)