chore: standardize project comments in English
This commit is contained in:
1 parent
a874a39ea5
commit
ccb16acbea
167 files changed
+820
-820
No files matched your search
@@ -24,7 +24,7 @@ func insert(tx *sql.Tx, p, rev string, content []byte) (int64, error) {
|
||||
return id, err
|
||||
}
|
||||
|
||||
// Rebuild 与后台同步互斥,失败时事务和已知快照均保持原状。
|
||||
// Rebuild excludes background synchronization; failures leave both the transaction and known snapshot unchanged.
|
||||
func (x *Index) Rebuild(ctx context.Context) error {
|
||||
x.work.Lock()
|
||||
defer x.work.Unlock()
|
||||
|
||||
Reference in new issue
Block a user