Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for FileInfo (0.06 sec)

  1. istioctl/pkg/validate/validate.go

    		}
    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    		err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    
    			if info.IsDir() {
    				return nil
    			}
    
    			if isFileFormatValid(path) {
    				processFile(path)
    			}
    
    			return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		}
    		if err != nil && err != testCaseFailure.err {
    			t.Errorf("Test %d: Expected err %s, but got %s", i+1, testCaseFailure.err, err)
    		}
    	}
    }
    
    func BenchmarkXlMetaV2Shallow(b *testing.B) {
    	fi := FileInfo{
    		Volume:           "volume",
    		Name:             "object-name",
    		VersionID:        "756100c6-b393-4981-928a-d49bbc164741",
    		IsLatest:         true,
    		Deleted:          false,
    		TransitionStatus: "PENDING",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    }
    
    func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) {
    	var readers []local.ReaderSource
    
    	err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    
    		if info.IsDir() {
    			return nil
    		}
    
    		if !isValidFile(path) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    // Note: This function doesn't update sizeSummary since it always removes versions that it doesn't return.
    func (i *scannerItem) applyNewerNoncurrentVersionLimit(ctx context.Context, _ ObjectLayer, fivs []FileInfo, expState *expiryState) ([]ObjectInfo, error) {
    	done := globalScannerMetrics.time(scannerMetricApplyNonCurrent)
    	defer done()
    
    	rcfg, _ := globalBucketObjectLockSys.Get(i.bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  6. 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>"))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  9. 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)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  10. 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
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top