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
de844b01
Commit
de844b01
authored
Jul 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7649e798
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+4
-0
No files found.
wcfs/internal/zdata/δftail.go
View file @
de844b01
...
...
@@ -544,6 +544,10 @@ func (δFtail *ΔFtail) LastBlkRev(ctx context.Context, zf *ZBigFile, blk int64,
err
:=
zf
.
PActivate
(
ctx
)
if
err
!=
nil
{
// file deleted
if
xzodb
.
IsErrNoData
(
err
)
{
return
δFtail
.
Tail
(),
false
// FIXME tail -> epoch(at)
}
panic
(
err
)
// XXX
}
defer
zf
.
PDeactivate
()
...
...
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