Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for recurses (0.24 sec)

  1. cmd/os_other.go

    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	d, err := Open(dirPath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. internal/logger/logonce.go

    		leafErr = uerr
    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    			// latencies this might bring.
    			break
    		}
    	}
    	if uerr == nil {
    		leafErr = err
    	}
    	return leafErr
    }
    
    // One log message per error.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/os_windows.go

    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in windows platform
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	var fetched bool
    	return func() []byte {
    		if !fetched {
    			data = input()
    			fetched = true
    		}
    		return metadataEncrypter(key)("compression-index", data)
    	}
    }
    
    // compressionIndexDecrypt reverses compressionIndexEncrypter.
    func (o *ObjectInfo) compressionIndexDecrypt(input []byte) ([]byte, error) {
    	return o.metadataDecrypter()("compression-index", input)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "newPrefix0", "newPrefix0", nil},
    		{testBuckets[0], "newPrefix1", "newPrefix1", nil},
    		{testBuckets[0], "newzen/zen/recurse/again/again/again/pics", "recurse", nil},
    		{testBuckets[0], "obj0", "obj0", nil},
    		{testBuckets[0], "obj1", "obj1", nil},
    		{testBuckets[0], "obj2", "obj2", nil},
    		{testBuckets[1], "obj1", "obj1", nil},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. cmd/os_unix.go

    	if err != nil {
    		return consumed, nil, typ, err
    	}
    
    	return consumed, nameBuf[:nameLen], typ, nil
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, fn func(name string, typ os.FileMode) error) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    			logger.CriticalIf(context.Background(), errors.New("unable to encrypt using object key"))
    		}
    		return buffer.Bytes()
    	}
    }
    
    // metadataDecrypter reverses metadataEncrypter.
    func (o *ObjectInfo) metadataDecrypter() objectMetaDecryptFn {
    	return func(baseKey string, input []byte) ([]byte, error) {
    		if len(input) == 0 {
    			return input, nil
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	// null version and therefore don't require the free-version to track
    	// anything
    	if fi.VersionID == "" && !fi.IsRestoreObjReq() && !fi.Healing() {
    		// Note: Restore object request reuses PutObject/Multipart
    		// upload to copy back its data from the remote tier. This
    		// doesn't replace the existing version, so we don't need to add
    		// a free-version.
    		xlMeta.AddFreeVersion(fi)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top