Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReadXL (0.04 sec)

  1. cmd/erasure-object.go

    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			rf, err := disks[index].ReadXL(ctx, bucket, object, readData)
    			if err != nil {
    				return err
    			}
    			rawFileInfos[index] = rf
    			return nil
    		}, index)
    	}
    
    	return rawFileInfos, g.Wait()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			return nil, time.Time{}, err
    		}
    		return nil, time.Time{}, errFileNotFound
    	}
    
    	return buf, dmTime, nil
    }
    
    // ReadXL reads from path/xl.meta, does not interpret the data it read. This
    // is a raw call equivalent of ReadVersion().
    func (s *xlStorage) ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top