Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for partMetaPaths (0.09 sec)

  1. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadParts, volume, path.Dir(partMetaPaths[0]))
    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ReadParts(ctx, volume, partMetaPaths...)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	return &resp, nil
    }
    
    func (s *xlStorage) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return nil, err
    	}
    
    	parts := make([]*ObjectPartInfo, len(partMetaPaths))
    	for idx, partMetaPath := range partMetaPaths {
    		var partNumber int
    		fmt.Sscanf(pathutil.Base(partMetaPath), "part.%d.meta", &partNumber)
    
    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