Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 91 for ModTime (0.1 sec)

  1. cmd/metacache-entries.go

    		if len(e.cached.versions) == 0 {
    			// This special case is needed to handle xlMeta.versions == 0
    			return FileInfo{
    				Volume:   bucket,
    				Name:     e.name,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			}, nil
    		}
    		return e.cached.ToFileInfo(bucket, e.name, "", false, true)
    	}
    	return getFileInfo(e.metadata, bucket, e.name, "", fileInfoOpts{})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    	defer zipWriter.Close()
    
    	rawDataFn := func(r io.Reader, filename string, sz int) {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	if !isDirEmpty(dir3, true) {
    		t.Error("expected true for empty dir, got false")
    	}
    }
    
    func TestXLStorageReadVersionLegacy(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if r.Header.Get(xMinIOExtract) == "true" && HasSuffix(object, archiveExt) {
    		opts := ObjectOptions{VersionID: objInfo.VersionID, MTime: objInfo.ModTime}
    		if _, err := updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, object, opts); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    					Key:          objInfo.Name,
    					ETag:         getDecryptedETag(formValues, objInfo, false),
    					VersionID:    objInfo.VersionID,
    					LastModified: &objInfo.ModTime,
    				})
    
    				eventArgsList = append(eventArgsList, eventArgs{
    					EventName:    event.ObjectCreatedPost,
    					BucketName:   objInfo.Bucket,
    					Object:       objInfo,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. 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)
  7. cmd/admin-handlers-users.go

    	defer zipWriter.Close()
    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg io/fs, type File interface, Read([]uint8) (int, error)
    pkg io/fs, type File interface, Stat() (FileInfo, error)
    pkg io/fs, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg io/fs, type FileInfo interface, IsDir() bool
    pkg io/fs, type FileInfo interface, ModTime() time.Time
    pkg io/fs, type FileInfo interface, Mode() FileMode
    pkg io/fs, type FileInfo interface, Name() string
    pkg io/fs, type FileInfo interface, Size() int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg archive/zip, method (*File) ModTime() time.Time
    pkg archive/zip, method (*File) Mode() os.FileMode
    pkg archive/zip, method (*File) Open() (io.ReadCloser, error)
    pkg archive/zip, method (*File) SetModTime(time.Time)
    pkg archive/zip, method (*File) SetMode(os.FileMode)
    pkg archive/zip, method (*FileHeader) FileInfo() os.FileInfo
    pkg archive/zip, method (*FileHeader) ModTime() time.Time
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top