Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
3207c0ad
Commit
3207c0ad
authored
Oct 18, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
78329b67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+3
-2
No files found.
wcfs/internal/zdata/δftail.go
View file @
3207c0ad
...
...
@@ -470,7 +470,8 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) {
}
δftail
.
root
=
δE
.
newRoot
// NOTE no need to clone vδE: we are writer, vδE is not returned to outside
// NOTE no need to clone vδE: we are writer, vδE is never returned to
// outside, append does not invalidate previous vδE retrievals.
δftail
.
vδE
=
append
(
δftail
.
vδE
,
δE
)
}
}
...
...
@@ -657,7 +658,7 @@ func (δftail *_ΔFileTail) _forgetPast(revCut zodb.Tid) {
// - AddBlk(zblk, blk),
// - DelBlk(zblk, blk)
type
_ZinblkOverlay
struct
{
Base
map
[
zodb
.
Oid
]
setI64
// taken from _RootTrack.
Zinb
lk or _ΔFileEpoch.oldZinblk
Base
map
[
zodb
.
Oid
]
setI64
// taken from _RootTrack.
ztrackInB
lk or _ΔFileEpoch.oldZinblk
Adj
map
[
zodb
.
Oid
]
setI64
// adjustment over base; blk<0 represents whiteout
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment