mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
fix comment and variable name typos
This commit is contained in:
1 parent
fa1a318780
commit
10645ccd2a
17 files changed
+34
-30
No files matched your search
@@ -66,7 +66,7 @@ func NewTreeRewriter(opts RewriteOpts) *TreeRewriter {
|
||||
return rw
|
||||
}
|
||||
|
||||
func NewSnapshotSizeRewriter(rewriteNode NodeRewriteFunc, keepEmptyDirecoryFilter NodeKeepEmptyDirectoryFunc) (*TreeRewriter, QueryRewrittenSizeFunc) {
|
||||
func NewSnapshotSizeRewriter(rewriteNode NodeRewriteFunc, keepEmptyDirectoryFilter NodeKeepEmptyDirectoryFunc) (*TreeRewriter, QueryRewrittenSizeFunc) {
|
||||
var count uint
|
||||
var size uint64
|
||||
|
||||
@@ -80,7 +80,7 @@ func NewSnapshotSizeRewriter(rewriteNode NodeRewriteFunc, keepEmptyDirecoryFilte
|
||||
return node
|
||||
},
|
||||
DisableNodeCache: true,
|
||||
KeepEmptyDirectory: keepEmptyDirecoryFilter,
|
||||
KeepEmptyDirectory: keepEmptyDirectoryFilter,
|
||||
})
|
||||
|
||||
ss := func() SnapshotSize {
|
||||
|
||||
Reference in new issue
Block a user