Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for existence (0.04 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertFalse(file.exists(), "Non-existent file should not exist");
            assertThrows(SmbException.class, () -> file.length(), "Getting length of non-existent file should throw exception");
            assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    	// Create bucket before initiating NewMultipartUpload.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    				return ListObjectsInfo{}, ctx.Err()
    			}
    		}
    		// Hadoop makes the max-keys=2 listing call just to find if the directory is empty or not, or in the case
    		// of an object to check for object existence. For versioned buckets, MinIO's non-recursive
    		// call will report top level prefixes in deleted state, whereas spark/hadoop interpret this as non-empty
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	cache.updatedAt = UTCNow()
    	return cache.updatedAt, addedOrRemoved, newPolicies, nil
    }
    
    // PolicyDBSet - update the policy mapping for the given user or group in
    // storage and in cache. We do not check for the existence of the user here
    // since users can be virtual, such as for:
    //   - LDAP users
    //   - CommonName for STS accounts generated by AssumeRoleWithCertificate
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		}
    	}
    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    	// Check if the object is non-existent on most disks but not all of them
    	case (errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound)) && (countErrs(errs, nil) > 0):
    		return true
    	}
    	return false
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	}
    	dstFilePath := pathutil.Join(dstVolumeDir, dstPath)
    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top