Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for files (0.13 sec)

  1. cmd/os_windows.go

    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common.go

    // []StorageAPI returned by listOnlineDisks. Returns,
    //
    // - disks which have all parts specified in the latest xl.meta.
    //
    //   - slice of errors about the state of data files on disk - can have
    //     a not-found error or a hash-mismatch error.
    func disksWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetadata []FileInfo,
    	errs []error, latestMeta FileInfo, bucket, object string,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    			}
    		}
    	}
    	return len(errs) == notFoundCount
    }
    
    // ObjectDir is considered dangling/corrupted if any only
    // if total disks - a combination of corrupted and missing
    // files is lesser than N/2+1 number of disks.
    // If no files were found false will be returned.
    func isObjectDirDangling(errs []error) (ok bool) {
    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/object-api-putobject_test.go

    		tmpMetaDir := path.Join(disk, minioMetaTmpBucket)
    		files, err := os.ReadDir(tmpMetaDir)
    		if err != nil {
    			t.Fatal(err)
    		}
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    			found = true
    		}
    		if found {
    			t.Fatalf("%s: expected: empty, got: non-empty %#v", minioMetaTmpBucket, files)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/bucket-metadata.go

    		if err != nil {
    			if _, ok := err.(ObjectExistsAsDirectory); ok {
    				// in FS mode it possible that we have actual
    				// files in this folder with `.minio.sys/buckets/bucket/configFile`
    				continue
    			}
    			if errors.Is(err, errConfigNotFound) {
    				// legacy file config not found, proceed to look for new metadata.
    				continue
    			}
    
    			return nil, err
    		}
    		configs[legacyFile] = configData
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	Speedtest bool // object call specifically meant for SpeedTest code, set to 'true' when invoked by SpeedtestHandler.
    
    	// Use the maximum parity (N/2), used when saving server configuration files
    	MaxParity bool
    
    	// Provides a per object encryption function, allowing metadata encryption.
    	EncryptFn objectMetaEncryptFn
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil_test.go

    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    	f.Close()
    	defer os.Remove(f.Name())
    	fi1, err := os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	fi2, err := os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	if !SameFile(fi1, fi2) {
    		t.Fatal("Expected the files to be same")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/veeam-sos-api.go

    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    //     optimize the storage system for the default value of 1MB minus compression object sizes. The setting simultaneously
    //     affects read from source, block, file, dedup, and object storage backup targets for a specific Veeam Job. When customers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  9. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil {
    		t.Fatalf("Unable to create a file \"as-file-parent\", %s", err)
    	}
    	if err = xlStorage.MakeVol(context.Background(), "exists/as-file/"+fi.DataDir); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    // The cache is a tree structure where each keeps track of its children.
    //
    // An uncompacted branch contains a count of the files only directly at the
    // branch level, and contains link to children branches or leaves.
    //
    // The leaves are "compacted" based on a number of properties.
    // A compacted leaf contains the totals of all files beneath it.
    //
    // A leaf is only scanned once every dataUsageUpdateDirCycles,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top