- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isSysErrNotDir (0.52 sec)
-
cmd/os-reliable.go
} if err = checkPathLength(dstFilePath); err != nil { return err } if err = reliableRename(srcFilePath, dstFilePath, baseDir); err != nil { switch { case isSysErrNotDir(err) && !osIsNotExist(err): // Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning // true if the source file path contains an non-existent directory. In that case,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/os_unix.go
for { if boff >= nbuf { boff = 0 stop := globalOSMetrics.time(osMetricReadDirent) nbuf, err = syscall.ReadDirent(fd, buf) stop() if err != nil { if isSysErrNotDir(err) { return nil } err = osErrToFileErr(err) if err == errFileNotFound { return nil } return err } if nbuf <= 0 { break // EOF } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/storage-errors.go
func osErrToFileErr(err error) error { if err == nil { return nil } if osIsNotExist(err) { return errFileNotFound } if osIsPermission(err) { return errFileAccessDenied } if isSysErrNotDir(err) || isSysErrIsDir(err) { return errFileNotFound } if isSysErrPathNotFound(err) { return errFileNotFound } if isSysErrTooManyFiles(err) { return errTooManyOpenFiles }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/xl-storage.go
if err = Remove(dstFilePath); err != nil { if isSysErrNotEmpty(err) || isSysErrNotDir(err) { return errFileAccessDenied } else if isSysErrIO(err) { return errFaultyDisk } return err } } } if err = renameAll(srcFilePath, dstFilePath, dstVolumeDir); err != nil { if isSysErrNotEmpty(err) || isSysErrNotDir(err) { return errFileAccessDenied }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
cmd/metacache-walk.go
if !isDirObj { if !isDirEmpty(pathJoinBuf(sb, volumeDir, meta.name), legacyFS) { dirStack = append(dirStack, meta.name+slashSeparator) } } case isSysErrNotDir(err): // skip } } // If directory entry left on stack, pop it now. for len(dirStack) > 0 { if opts.Limit > 0 && objsReturned >= opts.Limit { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0)