Commit 523794af authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 88b0106e
...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment