Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 237 for DELETING (0.12 sec)

  1. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperIntegrationTest.groovy

            gradleUserHome.eachFileRecurse(FileType.FILES) { file ->
                if (file.name.startsWith("gradle-launcher")) {
                    Files.delete(file.toPath())
                    println("Deleting " + file)
                    deletedSomething = true
                }
            }
            and:
            result = executer.withTasks("hello").run()
            then:
            deletedSomething
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

                fos = new FileOutputStream(tempFile);
                CopyUtil.copy(is, fos);
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(fos); // for deleting file
                FileUtil.deleteInBackground(tempFile); // clean up
                throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e);
            } finally {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    		return false
    	}
    	return len(mwhs.Items) > 0
    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/os/removeall_at.go

    	}
    
    	// Simple case: if Remove works, we're done.
    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/copy.go

    		// When calling os.Rename(), an "invalid cross-device link" error may occur
    		// if the source and destination files are on different file systems.
    		// In this case, the file is moved by copying and then deleting the source file,
    		// although it is less efficient than os.Rename().
    		klog.V(4).Infof("cannot rename %v to %v due to %v, attempting an alternative method", src, dest, err)
    		if err := CopyFile(src, dest); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    }
    
    // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
    func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) {
    	if !isDryRun {
    		fmt.Printf("[reset] Deleting contents of directories: %v\n", dirsToClean)
    		for _, dir := range dirsToClean {
    			if err := CleanDir(dir); err != nil {
    				klog.Warningf("[reset] Failed to delete contents of %q directory: %v", dir, err)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/FileBackedOutputStream.java

     * in CVE number once it's available.)
     *
     * <p>Temporary files created by this stream may live in the local filesystem until either:
     *
     * <ul>
     *   <li>{@link #reset} is called (removing the data in this stream and deleting the file), or...
     *   <li>this stream (or, more precisely, its {@link #asByteSource} view) is finalized during
     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. pkg/controller/bootstrap/tokencleaner.go

    	logger := klog.FromContext(ctx)
    	secret := o.(*v1.Secret)
    	ttl, alreadyExpired := bootstrapsecretutil.GetExpiration(secret, time.Now())
    	if alreadyExpired {
    		logger.V(3).Info("Deleting expired secret", "secret", klog.KObj(secret))
    		var options metav1.DeleteOptions
    		if len(secret.UID) > 0 {
    			options.Preconditions = &metav1.Preconditions{UID: &secret.UID}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/associations_has_one_test.go

    	// Replace -> same as append
    
    	// Delete
    	if err := DB.Model(&users).Association("Account").Delete(&users[0].Account); err != nil {
    		t.Errorf("no error should happened when deleting account, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Account", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Account").Clear()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/cache/internal/UnusedVersionsCacheCleanup.java

            }
            return false;
        }
    
        @Override
        protected void handleDeletion(File cacheDir) {
            LOGGER.debug("Deleting unused versioned cache directory at {}", cacheDir);
        }
    
        @Override
        protected int deleteEmptyParentDirectories(File baseDir, File dir) {
            // do not delete parent dirs
            return 0;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:40:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top