Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 842 for Delete (0.22 sec)

  1. tests/delete_test.go

    	user1 := *GetUser("inline_delete_1", Config{})
    	user2 := *GetUser("inline_delete_2", Config{})
    	DB.Save(&user1).Save(&user2)
    
    	if DB.Delete(&User{}, user1.ID).Error != nil {
    		t.Errorf("No error should happen when delete a record")
    	} else if err := DB.Where("name = ?", user1.Name).First(&User{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("User can't be found after delete")
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 07:03:34 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. docs/bucket/replication/delete-replication.sh

    aws configure set aws_secret_access_key minioadmin --profile minioadmin
    aws configure set default.region us-east-1 --profile minioadmin
    
    aws s3api --endpoint-url http://localhost:9001 --profile minioadmin delete-object --bucket testbucket --key dir/file --version-id "$versionId"
    
    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

            assertEquals(
                "contents of directory " + path + " not deleted with delete method " + this,
                0,
                MoreFiles.listFiles(path).size());
          }
        },
        DELETE_RECURSIVELY {
          @Override
          public void delete(Path path, RecursiveDeleteOption... options) throws IOException {
            MoreFiles.deleteRecursively(path, options);
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    // DeleteVersioned - Returns true if action demands delete on a versioned object
    func (a Action) DeleteVersioned() bool {
    	return a == DeleteVersionAction || a == DeleteRestoredVersionAction
    }
    
    // DeleteAll - Returns true if the action demands deleting all versions of an object
    func (a Action) DeleteAll() bool {
    	return a == DeleteAllVersionsAction
    }
    
    // Delete - Returns true if action demands delete on all objects (including restored)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. docs/bucket/versioning/README.md

    To permanently delete an object you need to specify the version you want to delete, only the user with appropriate permissions can permanently delete a version.  As shown below DELETE request called with a specific version id permanently deletes an object from a bucket. Delete marker is not added for DELETE requests with version id.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  6. tests/associations_many2many_test.go

    	// Delete
    	if err := DB.Model(&user2).Association("Languages").Delete(&Language{}); err != nil {
    		t.Fatalf("Error happened when delete language, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Languages", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Languages").Delete(&language2); err != nil {
    		t.Fatalf("Error happened when delete Languages, got %v", err)
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    // to activate delete only headers set delete as true
    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool) {
    	// We must not use the http.Header().Set method here because some (broken)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. docs/de/docs/reference/responses.md

                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ## Starlette-Responses
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Feb 19 15:53:39 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: Crawler is running. The document cannot be deleted. */
        public static final String ERRORS_cannot_delete_doc_because_of_running = "{errors.cannot_delete_doc_because_of_running}";
    
        /** The key of the message: Failed to delete document. */
        public static final String ERRORS_failed_to_delete_doc_in_admin = "{errors.failed_to_delete_doc_in_admin}";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                        continue
                    }
    
                if (shouldDelete(cacheVersion)) {
                    logger.lifecycle("Removing old cache directory : $cacheDir")
                    delete {
                        delete(cacheDir)
                    }
                }
            }
        }
    }
    
    
    fun FileSystemOperations.removeCachedScripts(cachesDir: File) {
        if (cachesDir.isDirectory) {
            cachesDir.listFiles()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top