Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 968 for doDelete (0.11 sec)

  1. tests/soft_delete_test.go

    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                if (isCommit) {
                    try {
                        dictionaryManager.store(CharMappingFile.this, newFile);
                    } finally {
                        newFile.delete();
                    }
                } else {
                    newFile.delete();
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. cmd/bucket-metadata-sys.go

    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    func (sys *BucketMetadataSys) Delete(ctx context.Context, bucket string, configFile string) (updatedAt time.Time, err error) {
    	if configFile == bucketLifecycleConfig {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    	}
    	return nil, BucketRemoteTargetNotFound{Bucket: bucket}
    }
    
    // Delete clears targets present for a bucket
    func (sys *BucketTargetSys) Delete(bucket string) {
    	sys.Lock()
    	defer sys.Unlock()
    	tgts, ok := sys.targetsMap[bucket]
    	if !ok {
    		return
    	}
    	for _, t := range tgts {
    		delete(sys.arnRemotesMap, t.Arn)
    	}
    	delete(sys.targetsMap, bucket)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_replication.sh

    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java

    import java.nio.file.SecureDirectoryStream;
    import javax.annotation.CheckForNull;
    
    /**
     * Exception indicating that a recursive delete can't be performed because the file system does not
     * have the support necessary to guarantee that it is not vulnerable to race conditions that would
     * allow it to delete files and directories outside of the directory being deleted (i.e., {@link
     * SecureDirectoryStream} is not supported).
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testCreated () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
                try {
                    assertCloseTime(f.createTime());
                }
                finally {
                    f.delete();
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	// Header indicates if the delete marker should be preserved by client
    	MinIOSourceDeleteMarker = "x-minio-source-deletemarker"
    
    	// Header indicates if the delete marker version needs to be purged.
    	MinIOSourceDeleteMarkerDelete = "x-minio-source-deletemarker-delete"
    
    	// Header indicates permanent delete replication status.
    	MinIODeleteReplicationStatus = "X-Minio-Replication-Delete-Status"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

        @Override
        public void update(final User user) {
            ComponentUtil.getLdapManager().insert(user);
        }
    
        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(false).status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/user/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            final User entity = userService.getUser(id).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top