Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMax (0.03 sec)

  1. cmd/xl-storage-format-v2.go

    	for i, ver := range x.versions {
    		if key == ver.header.VersionID {
    			obj, err := x.getIdx(i)
    			return i, obj, err
    		}
    	}
    	return -1, nil, errFileVersionNotFound
    }
    
    func (x *xlMetaV2) getIdx(idx int) (ver *xlMetaV2Version, err error) {
    	if idx < 0 || idx >= len(x.versions) {
    		return nil, errFileNotFound
    	}
    	var dst xlMetaV2Version
    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