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
3422fba8
Commit
3422fba8
authored
Jun 22, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
74161aa9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
wcfs/δbtail.go
wcfs/δbtail.go
+1
-1
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+2
-0
No files found.
wcfs/δbtail.go
View file @
3422fba8
...
@@ -670,7 +670,7 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid]
...
@@ -670,7 +670,7 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid]
for
c
:=
range
bChildren
{
allChildren
.
Add
(
c
)
}
for
c
:=
range
bChildren
{
allChildren
.
Add
(
c
)
}
// go through all children that potentially can add to δ and process add/del/modify
// go through all children that potentially can add to δ and process add/del/modify
for
child
:=
range
allChildren
{
// XXX -> sorted?
for
child
:=
range
allChildren
{
// XXX -> sorted?
FIXME wrong to traverse by oid - need to ...?
ca
:=
aChildren
[
child
]
ca
:=
aChildren
[
child
]
cb
:=
bChildren
[
child
]
cb
:=
bChildren
[
child
]
...
...
wcfs/δbtail_test.go
View file @
3422fba8
...
@@ -920,6 +920,8 @@ func TestΔBTail(t *testing.T) {
...
@@ -920,6 +920,8 @@ func TestΔBTail(t *testing.T) {
"T3/B1:a,2:b-B4:d,8:h"
,
"T3/B1:a,2:b-B4:d,8:h"
,
"T2,5/B1:a-B2:b,4:d-B8:h"
,
// XXX add A
"T2,5/B1:a-B2:b,4:d-B8:h"
,
// XXX add A
// XXX depth=3 (to verify recursion and selecting which tree children to follow or not)
// XXX more
// XXX more
// degenerate topology from ZODB tests
// degenerate topology from ZODB tests
...
...
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