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
8a14e5c7
Commit
8a14e5c7
authored
Jun 07, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4c6bd292
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wcfs/internal/xbtree/treediff.go
wcfs/internal/xbtree/treediff.go
+3
-2
No files found.
wcfs/internal/xbtree/treediff.go
View file @
8a14e5c7
...
...
@@ -194,7 +194,8 @@ func (n *nodeInRange) NodePath() []Node {
}
*/
func
(
n
*
nodeInRange
)
Path
()
[]
zodb
.
Oid
{
return
append
(
n
.
prefix
,
n
.
node
.
POid
())
// return full copy - else .prefix can become aliased in between children of a node
return
append
([]
zodb
.
Oid
{},
append
(
n
.
prefix
,
n
.
node
.
POid
())
...
)
}
// rangeSplit represents set of nodes covering a range.
...
...
@@ -986,7 +987,7 @@ func xidOf(obj zodb.IPersistent) string {
return
xid
.
String
()
}
func
(
rn
nodeInRange
)
String
()
string
{
func
(
rn
*
nodeInRange
)
String
()
string
{
done
:=
" "
;
if
rn
.
done
{
done
=
"*"
}
hi
:=
rn
.
hi_
if
hi
<
KeyMax
{
...
...
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