mirror of https://github.com/restic/restic.git
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