Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for folder2 (0.17 sec)

  1. cmd/data-scanner.go

    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  2. internal/config/scanner/help.go

    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         ExcessFolders,
    			Description: `alert beyond this many sub-folders per folder in an erasure set` + defaultHelpPostfix(ExcessFolders),
    			Optional:    true,
    			Type:        "int",
    		},
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 12 07:41:53 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. internal/config/scanner/scanner.go

    	EnvIdleSpeed = "MINIO_SCANNER_IDLE_SPEED"
    
    	ExcessVersions    = "alert_excess_versions"
    	EnvExcessVersions = "MINIO_SCANNER_ALERT_EXCESS_VERSIONS"
    
    	ExcessFolders    = "alert_excess_folders"
    	EnvExcessFolders = "MINIO_SCANNER_ALERT_EXCESS_FOLDERS"
    
    	// All below are deprecated in October 2022 and
    	// replaced them with a single speed parameter
    	Delay            = "delay"
    	MaxWait          = "max_wait"
    	Cycle            = "cycle"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		name            string
    		content         string
    		meta            map[string]string
    		addDeleteMarker bool
    	}{
    		{testBuckets[0], "unique/folder/", "", nil, true},
    		{testBuckets[0], "unique/folder/1.txt", "content", nil, false},
    		{testBuckets[1], "unique/folder/1.txt", "content", nil, true},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    	if err != nil {
    		return toStorageErr(err)
    	}
    	return toStorageErr(st.Results(func(in []byte) error {
    		_, err := wr.Write(in)
    		return err
    	}))
    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cni/pkg/pluginlistener/listener.go

    	if err := os.Remove(path); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    		// If we cannot create it, just warn here - we will fail later if there is a real error
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. cmd/update-notifier.go

    // newer version is available.
    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    	// difference between newer and current release.
    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    
    	if globalServerCtxt.JSON {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. cmd/update-notifier_test.go

    		{2 * 365 * 24 * time.Hour, "my_download_url", "2 years before the latest release"},
    	}
    
    	plainMsg := "You are running an older version of MinIO released"
    
    	for i, testCase := range testCases {
    		output := prepareUpdateMessage(testCase.dlURL, testCase.older)
    		line1 := fmt.Sprintf("%s %s", plainMsg, color.YellowBold(testCase.expectedSubStr))
    		line2 := fmt.Sprintf("Update: %s", color.CyanBold(testCase.dlURL))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. internal/logger/legacy.go

    )
    
    // Legacy envs
    const (
    	legacyEnvAuditLoggerHTTPEndpoint = "MINIO_AUDIT_LOGGER_HTTP_ENDPOINT"
    	legacyEnvLoggerHTTPEndpoint      = "MINIO_LOGGER_HTTP_ENDPOINT"
    )
    
    // SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 03 09:47:07 GMT 2023
    - 2K bytes
    - Viewed (1)
  10. cmd/data-scanner-metric.go

    	// END realtime metrics:
    	scannerMetricLastRealtime
    
    	// Trace only metrics:
    	scannerMetricScanFolder      // Scan a folder on disk, recursively.
    	scannerMetricScanCycle       // Full cycle, cluster global
    	scannerMetricScanBucketDrive // Single bucket on one drive
    	scannerMetricCompactFolder   // Folder compacted.
    
    	// Must be last:
    	scannerMetricLast
    )
    
    // log scanner action.
    // Use for s > scannerMetricStartTrace
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top