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
e072a39f
Commit
e072a39f
authored
Jul 19, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e2eb170c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+2
-1
No files found.
wcfs/internal/zdata/δftail.go
View file @
e072a39f
...
@@ -222,7 +222,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) {
...
@@ -222,7 +222,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) {
// XXX locking
// XXX locking
for
foid
:=
range
δFtail
.
trackNew
{
for
foid
:=
range
δFtail
.
trackNew
{
delete
(
δFtail
.
trackNew
,
foid
)
δFtail
.
trackNew
.
Del
(
foid
)
δftail
:=
δFtail
.
byFile
[
foid
]
δftail
:=
δFtail
.
byFile
[
foid
]
δBtail
:=
δFtail
.
δBtail
δBtail
:=
δFtail
.
δBtail
err
:=
δftail
.
rebuild1
(
foid
,
δBtail
.
ΔZtail
(),
δBtail
.
DB
())
err
:=
δftail
.
rebuild1
(
foid
,
δBtail
.
ΔZtail
(),
δBtail
.
DB
())
...
@@ -245,6 +245,7 @@ func (δFtail *ΔFtail) rebuildIfNeeded(foid zodb.Oid) (_ *_ΔFileTail, err erro
...
@@ -245,6 +245,7 @@ func (δFtail *ΔFtail) rebuildIfNeeded(foid zodb.Oid) (_ *_ΔFileTail, err erro
if
δftail
.
vδE
!=
nil
{
if
δftail
.
vδE
!=
nil
{
err
=
nil
err
=
nil
}
else
{
}
else
{
δFtail
.
trackNew
.
Del
(
foid
)
δBtail
:=
δFtail
.
δBtail
δBtail
:=
δFtail
.
δBtail
err
=
δftail
.
rebuild1
(
foid
,
δBtail
.
ΔZtail
(),
δBtail
.
DB
())
err
=
δftail
.
rebuild1
(
foid
,
δBtail
.
ΔZtail
(),
δBtail
.
DB
())
}
}
...
...
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