Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 841 for commit (0.08 sec)

  1. CONTRIBUTING.md

    ### Creating commits and writing commit messages
    
    The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
    
    * [Write good commit messages.](https://cbea.ms/git-commit/#seven-rules)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Nov 25 06:57:22 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    	user := User{Name: "transaction"}
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise")
    	}
    
    	if err := tx.Commit().Error; err != nil {
    		t.Fatalf("Commit should not raise error")
    	}
    
    	if err := tx.Rollback().Error; err == nil {
    		t.Fatalf("Rollback after commit should raise error")
    	}
    }
    
    func TestTransactionWithSavePoint(t *testing.T) {
    	tx := DB.Begin()
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. finisher_api.go

    	}
    
    	if err != nil {
    		tx.AddError(err)
    	}
    
    	return tx
    }
    
    // Commit commits the changes in a transaction
    func (db *DB) Commit() *DB {
    	if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil && !reflect.ValueOf(committer).IsNil() {
    		db.AddError(committer.Commit())
    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                }
            }
    
            /**
             * Commits the current item to the temporary file.
             * @return the committed item or null if no item to commit
             */
            public ProtwordsItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            }
    
            /**
             * Commits the changes to the dictionary file.
             * If there is a pending new item, it is written to the file.
             *
             * @return The committed item, or null if no item was committed.
             * @throws DictionaryException if an I/O error occurs.
             */
            public StopwordsItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            }
    
            /**
             * Commits the changes to the dictionary file.
             * If there is a pending new item, it is written to the file.
             *
             * @return The committed item, or null if no item was committed.
             * @throws DictionaryException if an I/O error occurs.
             */
            public SynonymItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            }
    
            /**
             * Commits the changes to the dictionary file.
             * If there is a pending new item, it is written to the file.
             *
             * @return The committed item, or null if no item was committed.
             * @throws DictionaryException if an I/O error occurs.
             */
            public StemmerOverrideItem commit() {
                isCommit = true;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
            /**
             * Commits the changes.
             *
             * @return The new item if it was committed, otherwise null.
             */
            public KuromojiItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        public boolean isResolveDependencies() {
            return resolveDependencies;
        }
    
        /**
         * @since 3.2.2
         * @deprecated This got added when implementing MNG-2199 and is no longer used.
         * Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.
         */
        @Deprecated
        @Override
        public ProjectBuildingRequest setResolveVersionRanges(boolean value) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                }
            }
    
            /**
             * Commits any pending changes and marks the updater for final write.
             *
             * @return the committed mapping item, or null if no item was pending
             */
            public CharMappingItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top