Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for MTime (0.65 seconds)

  1. cmd/object-api-options.go

    	if err != nil {
    		return opts, err
    	}
    	opts.DeleteMarker = delMarker
    
    	mtime := strings.TrimSpace(r.Header.Get(xhttp.MinIOSourceMTime))
    	if mtime != "" {
    		opts.MTime, err = time.Parse(time.RFC3339Nano, mtime)
    		if err != nil {
    			return opts, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. src/archive/tar/reader_test.go

    				"mtime":    "1350266320.910238425",
    				"atime":    "1350266320.910238425",
    				"ctime":    "1350266320.910238425",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-bad-hdr-file.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/pax-bad-hdr-large.tar.bz2",
    		err:  ErrFieldTooLong,
    	}, {
    		file: "testdata/pax-bad-mtime-file.tar",
    		err:  ErrHeader,
    	}, {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  3. cmd/object-handlers-common.go

    }
    
    // returns true if object was modified after givenTime.
    func ifModifiedSince(objTime time.Time, givenTime time.Time) bool {
    	// The Date-Modified header truncates sub-second precision, so
    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return !objTime.Before(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  4. src/archive/tar/strconv_test.go

    		{"3 somelongkey=\n", "3 somelongkey=\n", "", "", false},
    		{"50 tooshort=\n", "50 tooshort=\n", "", "", false},
    		{"0000000000000000000000000000000030 mtime=1432668921.098285006\n30 ctime=2147483649.15163319", "0000000000000000000000000000000030 mtime=1432668921.098285006\n30 ctime=2147483649.15163319", "mtime", "1432668921.098285006", false},
    		{"06 k=v\n", "06 k=v\n", "", "", false},
    		{"00006 k=v\n", "00006 k=v\n", "", "", false},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        // use the open file descriptor
                        dh.send(new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
                                new Trans2SetFileInformationResponse(dh.getConfig()));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. internal/http/headers.go

    	MinIOForceDelete = "x-minio-force-delete"
    
    	// Create special flag to force create a bucket
    	MinIOForceCreate = "x-minio-force-create"
    
    	// Header indicates if the mtime should be preserved by client
    	MinIOSourceMTime = "x-minio-source-mtime"
    
    	// Header indicates if the etag should be preserved by client
    	MinIOSourceETag = "x-minio-source-etag"
    
    	// Writes expected write quorum
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

        }
    
        /**
         * Build a basic CREATE response body without create contexts.
         */
        private static byte[] buildCreateBodyNoContexts(byte oplock, byte openFlags, int createAction, long ctime, long atime, long mtime,
                long chtime, long allocSize, long eof, int attrs, byte[] fileId) {
            byte[] body = new byte[2 + 2 + 4 + 8 + 8 + 8 + 8 + 8 + 8 + 4 + 4 + 16 + 4 + 4];
            int i = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. cmd/erasure-server-pool-decom.go

    				ChecksumSHA1:   pi.ChecksumSHA1,
    			}
    		}
    		_, err = z.CompleteMultipartUpload(ctx, bucket, objInfo.Name, res.UploadID, parts, ObjectOptions{
    			SrcPoolIdx:   idx,
    			DataMovement: true,
    			MTime:        objInfo.ModTime,
    			NoAuditLog:   true,
    		})
    		if err != nil {
    			err = fmt.Errorf("decommissionObject: CompleteMultipartUpload() %w", err)
    		}
    		return err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  9. src/archive/tar/writer_test.go

    				PAXRecords: map[string]string{"path": ""}, // Should delete "path", but keep "mtime"
    			}, nil},
    			testHeader{Header{
    				Typeflag: TypeReg, Name: "file3",
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeReg,
    				Name:       "file4",
    				ModTime:    time.Unix(1400000000, 0),
    				PAXRecords: map[string]string{"mtime": "1400000000"},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  10. cmd/erasure-multipart.go

    		userDefined[hash.MinIOMultipartChecksum] = opts.WantChecksum.Type.String()
    		userDefined[hash.MinIOMultipartChecksumType] = opts.WantChecksum.Type.ObjType()
    	}
    
    	modTime := opts.MTime
    	if opts.MTime.IsZero() {
    		modTime = UTCNow()
    	}
    
    	onlineDisks, partsMetadata = shuffleDisksAndPartsMetadata(onlineDisks, partsMetadata, fi)
    
    	// Fill all the necessary metadata.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
Back to Top