Commit 847e447a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent eb34c5ba
......@@ -220,6 +220,8 @@ func (δBtail *ΔBtail) Head() zodb.Tid { return δBtail.δZtail.Head() }
func (δBtail *ΔBtail) Tail() zodb.Tid { return δBtail.δZtail.Tail() }
// ---- Track/rebuild/Update/Forget ----
// Track adds tree path to tracked set.
//
// path[0] signifies tree root.
......@@ -745,6 +747,8 @@ func (δTtail *_ΔTtail) forgetPast(revCut zodb.Tid) {
}
// ---- queries ----
// GetAt tries to retrieve root[key]@at from δBtail data.
//
// If δBtail has δB entry that covers root[key]@at, corresponding value
......@@ -866,6 +870,9 @@ func (δBtail *ΔBtail) SliceByRootRev(root zodb.Oid, lo, hi zodb.Tid) /*readonl
}
// ----------------------------------------
// ΔZtail returns raw ZODB changes accumulated in δBtail so far.
//
// the caller must not modify returned δZtail.
......
......@@ -193,6 +193,8 @@ func (δFtail *ΔFtail) Head() zodb.Tid { return δFtail.δBtail.Head() }
func (δFtail *ΔFtail) Tail() zodb.Tid { return δFtail.δBtail.Tail() }
// ---- Track/rebuild/Update/Forget ----
// Track associates file[blk]@head with tree path and zblk object.
//
// Path root becomes associated with the file, and the path and zblk object become tracked.
......@@ -563,6 +565,8 @@ func (δftail *_ΔFileTail) forgetPast(revCut zodb.Tid) {
}
}
// ---- queries ----
// TODO if needed
// func (δFtail *ΔFtail) SliceByRev(lo, hi zodb.Tid) /*readonly*/ []ΔF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment