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
54276eb7
Commit
54276eb7
authored
Sep 21, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3c6aaea6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+1
-3
No files found.
wcfs/internal/zdata/δftail.go
View file @
54276eb7
...
@@ -199,8 +199,7 @@ func (δFtail *ΔFtail) Tail() zodb.Tid { return δFtail.δBtail.Tail() }
...
@@ -199,8 +199,7 @@ func (δFtail *ΔFtail) Tail() zodb.Tid { return δFtail.δBtail.Tail() }
// One root can be associated with several files (each provided on different Track calls).
// One root can be associated with several files (each provided on different Track calls).
//
//
// zblk can be nil, which represents a hole.
// zblk can be nil, which represents a hole.
//
// blk=-1 should be used for tracking after ZBigFile.Size() query (no zblk is accessed at all).
// XXX blk=-1 is used for tracking after Size (no zblk is accessed at all).
//
//
// Objects in path and zblk must be with .PJar().At() == .head
// Objects in path and zblk must be with .PJar().At() == .head
func
(
δFtail
*
ΔFtail
)
Track
(
file
*
ZBigFile
,
blk
int64
,
path
[]
btree
.
LONode
,
zblk
ZBlk
)
{
func
(
δFtail
*
ΔFtail
)
Track
(
file
*
ZBigFile
,
blk
int64
,
path
[]
btree
.
LONode
,
zblk
ZBlk
)
{
...
@@ -222,7 +221,6 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, zb
...
@@ -222,7 +221,6 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, zb
foid
:=
file
.
POid
()
foid
:=
file
.
POid
()
if
blk
==
-
1
{
if
blk
==
-
1
{
// XXX blk = ∞ from beginning ?
blk
=
xbtree
.
KeyMax
blk
=
xbtree
.
KeyMax
}
}
δFtail
.
δBtail
.
Track
(
blk
,
path
)
δFtail
.
δBtail
.
Track
(
blk
,
path
)
...
...
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