Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for succmodTimes (0.09 sec)

  1. cmd/erasure-metadata_test.go

    	getNFInfo := func(n int, quorum int, t int64, dataDir string, succModTimes []time.Time, numVersions []int) []FileInfo {
    		fi := newFileInfo("test", 8, 8)
    		fi.AddObjectPart(1, "etag", 100, 100, UTCNow(), nil, nil)
    		fi.ModTime = time.Unix(t, 0)
    		fi.DataDir = dataDir
    		fis := make([]FileInfo, n)
    		for i := range fis {
    			fis[i] = fi
    			fis[i].Erasure.Index = i + 1
    			if succModTimes != nil {
    				fis[i].SuccessorModTime = succModTimes[i]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    				}
    				props := objProps{
    					succModTime: metaArr[i].SuccessorModTime,
    					numVersions: metaArr[i].NumVersions,
    				}
    				otherPropsMap[props]++
    			}
    		}
    	}
    
    	if found {
    		// Update candidate FileInfo with succModTime and numVersions in quorum when available
    		if props, ok := otherPropsMap.GetValueWithQuorum(quorum); ok {
    			candidate.SuccessorModTime = props.succModTime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    		}
    		if fi, err = version.ToFileInfo(volume, path, allParts); err != nil {
    			return fi, err
    		}
    		fi.IsLatest = isLatest
    		if succModTime != 0 {
    			fi.SuccessorModTime = time.Unix(0, succModTime)
    		}
    	}
    	if !found {
    		if versionID == "" {
    			if inclFreeVers && nonFreeVersions == 0 {
    				if freeFound {
    					return freeFi, nil
    				}
    			}
    			return FileInfo{}, errFileNotFound
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top