Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 64 for fileInfos (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/batch-rotate.go

    	}
    	delay := job.KeyRotate.Flags.Retry.Delay
    	if delay <= 0 {
    		delay = batchKeyRotateJobDefaultRetryDelay
    	}
    
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	selectObj := func(info FileInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(info.ModTime) < r.Flags.Filter.OlderThan {
    			// skip all objects that are newer than specified older duration
    			return false
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  2. cmd/metacache-server-pool.go

    	// filter out between versions 'obj' cannot be truncated
    	// in such a manner, so look for skipping an object only
    	// for regular ListObjects() call only.
    	if !o.Versioned && !o.V1 {
    		fi, err := obj.fileInfo(o.Bucket)
    		if err != nil {
    			return skip
    		}
    		objInfo := fi.ToObjectInfo(o.Bucket, obj.name, versioned)
    		if o.Lifecycle != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. api/go1.16.txt

    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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
  4. api/go1.21.txt

    pkg html/template, const ErrJSTemplate = 12 #59584
    pkg html/template, const ErrJSTemplate ErrorCode #59584
    pkg io/fs, func FormatDirEntry(DirEntry) string #54451
    pkg io/fs, func FormatFileInfo(FileInfo) string #54451
    pkg log/slog, const KindAny = 0 #56345
    pkg log/slog, const KindAny Kind #56345
    pkg log/slog, const KindBool = 1 #56345
    pkg log/slog, const KindBool Kind #56345
    pkg log/slog, const KindDuration = 2 #56345
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Click Count (0)
  5. cmd/admin-bucket-handlers.go

    			rpt.SetStatus(bucket, fileName, nil)
    		}
    	}
    
    	for _, file := range zr.File {
    		reader, err := file.Open()
    		if err != nil {
    			rpt.SetStatus(file.Name, "", err)
    			continue
    		}
    		sz := file.FileInfo().Size()
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  6. cmd/bucket-lifecycle.go

    	}
    }
    
    var errRestoreHDRMalformed = fmt.Errorf("x-amz-restore header malformed")
    
    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (fi FileInfo) IsRemote() bool {
    	if fi.TransitionStatus != lifecycle.TransitionComplete {
    		return false
    	}
    	return !isRestoredObjectOnDisk(fi.Metadata)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. cmd/erasure-sets.go

    }
    
    // DecomTieredObject - moves tiered object to another pool during decommissioning.
    func (s *erasureSets) DecomTieredObject(ctx context.Context, bucket, object string, fi FileInfo, opts ObjectOptions) error {
    	er := s.getHashedSet(object)
    	return er.DecomTieredObject(ctx, bucket, object, fi, opts)
    }
    
    // PutObjectTags - replace or add tags to an existing object
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  8. cmd/erasure-object_test.go

    	parts7SC := storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 5,
    		},
    	}
    
    	tests := []struct {
    		parts               []FileInfo
    		errs                []error
    		expectedReadQuorum  int
    		expectedWriteQuorum int
    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  9. cmd/batch-handlers.go

    	}
    	delay := job.Replicate.Flags.Retry.Delay
    	if delay <= 0 {
    		delay = batchReplJobDefaultRetryDelay
    	}
    
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	selectObj := func(info FileInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(info.ModTime) < r.Flags.Filter.OlderThan.D() {
    			// skip all objects that are newer than specified older duration
    			return false
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  10. docs/debugging/xl-meta/main.go

    			}
    			if ra, ok := r.(io.ReaderAt); ok && strings.HasSuffix(file, ".zip") {
    				zr, err := zip.NewReader(ra, sz)
    				if err != nil {
    					return err
    				}
    				for _, file := range zr.File {
    					if file.FileInfo().IsDir() {
    						continue
    					}
    					if strings.HasSuffix(file.Name, "xl.meta") {
    						r, err := file.Open()
    						if err != nil {
    							return err
    						}
    						// Quote string...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
Back to Top