Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for idir (0.13 sec)

  1. cmd/is-dir-empty_linux.go

    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    			}
    			if testCase.result.IsDir != result.IsDir {
    				t.Errorf("Test %d: %s: Expected IsDir flag of the object to be %v, but instead found it to be %v", i+1, instanceType, testCase.result.IsDir, result.IsDir)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. buildscripts/verify-build.sh

    		cat "$WORK_DIR/dist-minio-9000.log"
    		echo "server2 log:"
    		cat "$WORK_DIR/dist-minio-9001.log"
    		echo "server3 log:"
    		cat "$WORK_DIR/dist-minio-9002.log"
    		echo "server4 log:"
    		cat "$WORK_DIR/dist-minio-9003.log"
    	fi
    
    	rm -f "$WORK_DIR/dist-minio-9000.log" "$WORK_DIR/dist-minio-9001.log" "$WORK_DIR/dist-minio-9002.log" "$WORK_DIR/dist-minio-9003.log"
    
    	return "$rv"
    }
    
    function purge() {
    	rm -rf "$1"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. buildscripts/verify-healing.sh

    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    GOPATH=/tmp/gopath
    
    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    	export MINIO_CI_CD=1
    
    	first_time=$(find ${WORK_DIR}/ | grep format.json | wc -l)
    
    	start_port=$2
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  5. buildscripts/heal-inconsistent-versions.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_4drive() {
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    						if name == "null" {
    							name = v0
    						}
    
    						f := filemap[file][name]
    						if f != "" {
    							fn = f + ".data"
    							err = os.MkdirAll(filepath.Dir(fn), os.ModePerm)
    							if err != nil {
    								fmt.Println("MkdirAll:", filepath.Dir(fn), err)
    							}
    							err = os.WriteFile(fn+".json", []byte(filemap[file][name+".json"]), os.ModePerm)
    							combineFiles[name] = append(combineFiles[name], fn)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  7. cmd/object-api-deleteobject_test.go

    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    		// Test 3: remove an object inside a directory and checks if it is deleted
    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    			[]objectUpload{{"dir/object1", "content"}, {"dir/object2", "content"}},
    			"dir/object1",
    			[]string{"dir/object2"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    		expectedErr error
    	}{
    		{".test", "dir/obj", BucketNameInvalid{Bucket: ".test"}},
    		{"----", "dir/obj", BucketNameInvalid{Bucket: "----"}},
    		{"bucket", "", ObjectNameInvalid{Bucket: "bucket", Object: ""}},
    		{"bucket", "doesnotexist", ObjectNotFound{Bucket: "bucket", Object: "doesnotexist"}},
    		{"bucket", "dir/doesnotexist", ObjectNotFound{Bucket: "bucket", Object: "dir/doesnotexist"}},
    		{"bucket", "dir", ObjectNotFound{Bucket: "bucket", Object: "dir"}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_create_svcacct.txt

    #!/bin/sh
    set -e ; # Have script exit in the event of a failed command.
    
    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters.
    # Special characters for example : ',",<,>,{,}
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	loi.IsTruncated = err == nil && len(objects) > 0
    	if maxKeys > 0 && len(objects) > maxKeys {
    		objects = objects[:maxKeys]
    		loi.IsTruncated = true
    	}
    	for _, obj := range objects {
    		if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    			// Only add each once.
    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top