Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for exists (0.23 sec)

  1. cmd/object-api-errors.go

    }
    
    // ObjectAlreadyExists object already exists.
    type ObjectAlreadyExists GenericError
    
    func (e ObjectAlreadyExists) Error() string {
    	return "Object: " + e.Bucket + "/" + e.Object + " already exists"
    }
    
    // ObjectExistsAsDirectory object already exists as a directory.
    type ObjectExistsAsDirectory GenericError
    
    func (e ObjectExistsAsDirectory) Error() string {
    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            assertFalse(file.exists(), "Remote artifact " + file + " should not be present.");
        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
            File file = new File(localRepo.getBasedir(), path);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    		// the directory.
    		bindDN, err := l.LDAP.LookupUserDN(conn, username)
    		if err != nil {
    			if strings.Contains(err.Error(), "User DN not found for") {
    				return "", nil
    			}
    			return "", fmt.Errorf("Unable to find user DN: %w", err)
    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/tier.go

    func (config *TierConfigMgr) Edit(ctx context.Context, tierName string, creds madmin.TierCreds) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier by this name exists
    	tierType, exists := config.isTierNameInUse(tierName)
    	if !exists {
    		return errTierNotFound
    	}
    
    	cfg := config.Tiers[tierName]
    	switch tierType {
    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            ArtifactRepository repo = createStringRepo();
    
            assertThrows(ResourceDoesNotExistException.class, () -> wagonManager.getArtifact(artifact, repo, null, false));
    
            assertFalse(artifact.getFile().exists());
        }
    
        @Test
        void testGetMissingJarForced() throws TransferFailedException, UnsupportedProtocolException, IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            // No project, but most certainly a dependency which has been built previously
            File packagedArtifactFile = findInProjectLocalRepository(artifact);
            if (packagedArtifactFile != null && packagedArtifactFile.exists()) {
                return packagedArtifactFile;
            }
    
            return null;
        }
    
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. helm-releases/minio-5.2.0.tgz

    PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET; then echo "Purging bucket '$BUCKET'." set +e # don't exit if this fails ${MC} rm -r --force myminio/$BUCKET set -e # reset `e` as active else echo "Bucket '$BUCKET' does not exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    	// we cannot make assumptions there.
    
    	// -A OUTPUT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes dst,dst -j SNAT --to-source 169.254.7.127
    	iptablesBuilder.AppendRuleV4(
    		iptableslog.UndefinedCommand, ChainHostPostrouting, iptablesconstants.NAT,
    		"-m", "owner",
    		"--socket-exists",
    		"-p", "tcp",
    		"-m", "set",
    		"--match-set", fmt.Sprintf(ipset.V4Name, ProbeIPSet),
    		"dst",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        return connect
      }
    
      /**
       * Returns the connection already attached to the call if it's eligible for a new exchange.
       *
       * If the call's connection exists and is eligible for another exchange, it is returned. If it
       * exists but cannot be used for another exchange, it is closed and this returns null.
       */
      private fun planReuseCallConnection(): ReusePlan? {
        // This may be mutated by releaseConnectionNoEvents()!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top