mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 03:18:55 +00:00
Rename chunker so package chunker does not overlap
This commit is contained in:
parent
fe92062735
commit
551c7525fe
@ -142,10 +142,10 @@ func (arch *Archiver) SaveFile(node *Node) error {
|
|||||||
blobs = Blobs{blob}
|
blobs = Blobs{blob}
|
||||||
} else {
|
} else {
|
||||||
// else store all chunks
|
// else store all chunks
|
||||||
chunker := chunker.New(file)
|
chnker := chunker.New(file)
|
||||||
|
|
||||||
for {
|
for {
|
||||||
chunk, err := chunker.Next()
|
chunk, err := chnker.Next()
|
||||||
if err == io.EOF {
|
if err == io.EOF {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user