Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/xl-storage.go

    		// top level parent is automatically removed.
    		return s.deleteFile(volumeDir, pathJoin(volumeDir, path), true, false)
    	}
    
    	var xlMeta xlMetaV2
    	if err = xlMeta.LoadOrConvert(buf); err != nil {
    		return err
    	}
    
    	for _, fi := range fis {
    		dataDir, err := xlMeta.DeleteVersion(fi)
    		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)
  2. cmd/erasure-object.go

    		rf := rawFileInfos[index]
    		if rf.Buf == nil {
    			continue
    		}
    		if !readData {
    			// Save the buffer so we can reuse it.
    			v2bufs[index] = rf.Buf
    		}
    
    		var xl xlMetaV2
    		if err := xl.LoadOrConvert(rf.Buf); err != nil {
    			errs[index] = err
    			continue
    		}
    		metadataArray[index] = &xl
    		metaFileInfos[index] = FileInfo{}
    	}
    
    	for index := range metadataArray {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top