Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for renameLegacyMetadata (0.23 sec)

  1. cmd/xl-storage.go

    		defer metaDataPoolPut(buf)
    		if err != nil {
    			return err
    		}
    	}
    
    	return s.WriteAll(ctx, volume, pathJoin(path, xlStorageFormatFile), buf)
    }
    
    func (s *xlStorage) renameLegacyMetadata(volumeDir, path string) (err error) {
    	s.RLock()
    	legacy := s.formatLegacy
    	s.RUnlock()
    	if !legacy {
    		// if its not a legacy backend then this function is
    		// a no-op always returns errFileNotFound
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (2)
Back to top