aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-07 14:58:48 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-07 14:58:48 +0200
commit1e5d2641fe31bad543065fdf82887614ceb3b3ad (patch)
treec6c2807f2293244bdc713730acdb1ac4c82e1375
parent3d8e298b02dd09ca0ff896fbd8c1d4fc91be0b03 (diff)
downloaddna-backup-1e5d2641fe31bad543065fdf82887614ceb3b3ad.tar.gz
dna-backup-1e5d2641fe31bad543065fdf82887614ceb3b3ad.zip
udpate todo list
-rw-r--r--TODO.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index e7e1976..518ce65 100644
--- a/TODO.md
+++ b/TODO.md
@@ -13,10 +13,25 @@ priority 1
store in sketchMap
```
- [ ] read from repo
- - [ ] store recipe
- - [ ] load recipe
+ - [x] store recipe
+ - [x] load recipe
- [ ] read chunks in-order into a stream
+ - [ ] read individual files
- [ ] properly store informations to be DNA encoded
+ - [ ] tar source to keep files metadata ?
+ - [ ] store chunks compressed
+ - [ ] compress before storing
+ - [ ] uncompress before loading
+ - [ ] store compressed chunks into tracks ok trackSize (1024o)
+- [ ] add chunk cache that would look like this:
+ ```go
+ type ChunkCache map[ChunkId][]byte // Do we really want to only keep the chunk content ?
+
+ type Cache interface {
+ Get(id ChunkId) Chunk
+ Set(id ChunkId, Chunk)
+ }
+ ```
priority 2
----------