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
523794af
Commit
523794af
authored
Oct 13, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
88b0106e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+0
-4
No files found.
wcfs/internal/zdata/δftail.go
View file @
523794af
...
@@ -290,8 +290,6 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, bl
...
@@ -290,8 +290,6 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, bl
}
}
}
}
// XXX vδESnapForFile
// rebuildAll rebuilds vδE for all files from trackNew requests.
// rebuildAll rebuilds vδE for all files from trackNew requests.
func
(
δFtail
*
ΔFtail
)
rebuildAll
()
(
err
error
)
{
func
(
δFtail
*
ΔFtail
)
rebuildAll
()
(
err
error
)
{
defer
xerr
.
Contextf
(
&
err
,
"ΔFtail rebuildAll"
)
defer
xerr
.
Contextf
(
&
err
,
"ΔFtail rebuildAll"
)
...
@@ -971,7 +969,6 @@ func vδEBuild(foid zodb.Oid, δZtail *zodb.ΔTail, db *zodb.DB) (vδE []_ΔFile
...
@@ -971,7 +969,6 @@ func vδEBuild(foid zodb.Oid, δZtail *zodb.ΔTail, db *zodb.DB) (vδE []_ΔFile
return
vδE
,
nil
return
vδE
,
nil
}
}
// zfilediff returns direct difference for ZBigFile<foid> old..new .
// zfilediff returns direct difference for ZBigFile<foid> old..new .
type
_ΔZBigFile
struct
{
type
_ΔZBigFile
struct
{
blksizeOld
,
blksizeNew
int64
blksizeOld
,
blksizeNew
int64
...
@@ -1031,7 +1028,6 @@ func diffF(ctx context.Context, a, b *ZBigFile) (δ *_ΔZBigFile, err error) {
...
@@ -1031,7 +1028,6 @@ func diffF(ctx context.Context, a, b *ZBigFile) (δ *_ΔZBigFile, err error) {
return
δ
,
nil
return
δ
,
nil
}
}
// zgetFileOrNil returns ZBigFile corresponding to zconn.Get(oid) .
// zgetFileOrNil returns ZBigFile corresponding to zconn.Get(oid) .
// if the file does not exist, (nil, ok) is returned.
// if the file does not exist, (nil, ok) is returned.
func
zgetFileOrNil
(
ctx
context
.
Context
,
zconn
*
zodb
.
Connection
,
oid
zodb
.
Oid
)
(
zfile
*
ZBigFile
,
err
error
)
{
func
zgetFileOrNil
(
ctx
context
.
Context
,
zconn
*
zodb
.
Connection
,
oid
zodb
.
Oid
)
(
zfile
*
ZBigFile
,
err
error
)
{
...
...
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