mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
add codespell action (#18818)
Original work here, #18474, refixed and updated.
This commit is contained in:
@@ -2243,7 +2243,7 @@ func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate
|
||||
if runtime.GOOS == globalMacOSName {
|
||||
storeFilePath := pathJoin(deletePath, ".DS_Store")
|
||||
_, err := Stat(storeFilePath)
|
||||
// .DS_Store exsits
|
||||
// .DS_Store exists
|
||||
if err == nil {
|
||||
// delete first
|
||||
Remove(storeFilePath)
|
||||
@@ -2454,7 +2454,7 @@ func (s *xlStorage) RenameData(ctx context.Context, srcVolume, srcPath string, f
|
||||
formatLegacy := s.formatLegacy
|
||||
s.RUnlock()
|
||||
// It is possible that some drives may not have `xl.meta` file
|
||||
// in such scenarios verify if atleast `part.1` files exist
|
||||
// in such scenarios verify if at least `part.1` files exist
|
||||
// to verify for legacy version.
|
||||
if formatLegacy {
|
||||
// We only need this code if we are moving
|
||||
|
||||
Reference in New Issue
Block a user