- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 333 for DELETING (0.15 sec)
-
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) -
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) -
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) -
pkg/controller/storageversiongc/gc_controller_test.go
if err := clientset.CoordinationV1().Leases(metav1.NamespaceSystem).Delete(context.Background(), "kube-apiserver-1", metav1.DeleteOptions{}); err != nil { t.Fatalf("error deleting lease object: %v", err) } // add a delay to ensure controller had a chance to reconcile time.Sleep(2 * time.Second)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 12:19:43 UTC 2023 - 12.1K bytes - Viewed (0) -
tests/associations_many2many_test.go
t.Errorf("no error should happened when deleting language, but got %v", err) } AssertAssociationCount(t, users, "Languages", 4, "after delete") if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil { t.Errorf("no error should happened when deleting language, but got %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
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) -
pkg/ledger/smt_test.go
assert.NoError(t, err) if !bytes.Equal(root, smt.root) { t.Fatal("deleting a default key shouldn't modify the tree") } } // test updating and deleting at the same time func TestTrieUpdateAndDelete(t *testing.T) { smt := newSMT(hasher, nil, time.Minute) key0 := make([]byte, 8) values := getFreshData(1) root, _ := smt.Update([][]byte{key0}, values)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 7.9K bytes - Viewed (0) -
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) -
pkg/kubelet/util/manager/watch_based_manager_test.go
{"ns1", "secret1", "pod1", 1}, {"ns1", "secret1", "pod1", 0}, }, }, { desc: "deleting a non-existent reference should have no effect", steps: []step{ {"delete", "ns1", "secret1", "pod1"}, }, expects: []expect{ {"ns1", "secret1", "pod1", 0}, }, }, { desc: "deleting more than adding should not lead to negative refcount", steps: []step{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K bytes - Viewed (0) -
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)