aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-08-20 17:22:13 +0200
committern-peugnet <n.peugnet@free.fr>2021-08-20 17:22:13 +0200
commit9f98d6ef4931f04b9023264f0e3408e4529c977d (patch)
treed05440a340287b88f2f037b9d9e2a49f68f55c69 /main.go
parentda20d649b3775c4c061ff2aeefe1cea44bac1d19 (diff)
downloaddna-backup-9f98d6ef4931f04b9023264f0e3408e4529c977d.tar.gz
dna-backup-9f98d6ef4931f04b9023264f0e3408e4529c977d.zip
Store and Load chunks and
- also add a test for store and load - precise channel direction in function args
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 20289fd..f8a38ae 100644
--- a/main.go
+++ b/main.go
@@ -15,5 +15,5 @@ func main() {
chunks := make(chan []byte)
go ListFiles(path, files)
go ReadFiles(files, chunks)
- DumpChunks(".", chunks)
+ StoreChunks(".", chunks)
}