Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for modTime (0.09 sec)

  1. cmd/bucket-replication.go

    	if opType == replication.ExistingObjectReplicationType &&
    		oi1.ModTime.Unix() > oi2.LastModified.Unix() && oi1.VersionID == nullVersionID {
    		return replicateNone
    	}
    	sz, _ := oi1.GetActualSize()
    
    	// needs full replication
    	if oi1.ETag != oi2.ETag ||
    		oi1.VersionID != oi2.VersionID ||
    		sz != oi2.Size ||
    		oi1.DeleteMarker != oi2.IsDeleteMarker ||
    		oi1.ModTime.Unix() != oi2.LastModified.Unix() {
    		return replicateAll
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		if si.Mode == 0 {
    			// Not, set it to default.
    			si.Mode = 0o600
    		}
    		if si.ModTime.IsZero() {
    			// Set time to now.
    			si.ModTime = time.Now()
    		}
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    si.Size,
    			mode:    os.FileMode(si.Mode),
    			modTime: si.ModTime,
    			isDir:   si.Dir,
    			sys:     nil,
    		})
    		if zerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "DataDir")
    		return
    	}
    	z.XLV1, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	z.ModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	z.Size, err = dc.ReadInt64()
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    	z.Mode, err = dc.ReadUint32()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		return
    	}
    
    	OA := new(getObjectAttributesResponse)
    
    	if opts.Versioned {
    		w.Header().Set(xhttp.AmzVersionID, objInfo.VersionID)
    	}
    
    	lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
    	w.Header().Set(xhttp.LastModified, lastModified)
    	w.Header().Del(xhttp.ContentType)
    
    	if _, ok := opts.ObjectAttributes[xhttp.Checksum]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  5. cmd/server_test.go

    		if b.Name == bucketName {
    			createdBucket = b
    		}
    	}
    	c.Assert(createdBucket.Name != "", true)
    
    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top