Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-04-16 | refactor: rename Checksum to Label | Lars Wirzenius | 1 | -3/+3 | |
Label is a clearer and more accurate name for the type now that it is not just a checksum. Also, serialize a Label in tests, rather than using string literals. This is more correct, and we'll be changing serialization later. Sponsored-by: author | |||||
2021-12-31 | docs: add documentation comments to crate | Lars Wirzenius | 1 | -1/+12 | |
Also, make it an error for a public symbol to not be documented. Sponsored-by: author | |||||
2021-09-18 | refactor: define a Checksum type and use it where appropriate | Lars Wirzenius | 1 | -3/+3 | |
This will make it harder to compare, say, a SHA-256 and a SHA3, later, when we add more checksum types. Sponsored-by: author | |||||
2021-03-27 | refactor: rename ChunkId::from_str to ChunkId::recreate | Lars Wirzenius | 1 | -3/+4 | |
Less confusion with FromStr::from_str this way. | |||||
2021-01-04 | feat: verify checksum of chunks downloaded from server | Lars Wirzenius | 1 | -2/+6 | |
2021-01-03 | feat: load chunk metadata into index at startup | Lars Wirzenius | 1 | -0/+9 | |
This needs to be replace with a database or something, but it'll do for now. | |||||
2020-11-25 | perf: store chunks on disk in a 3-level directory tree | Lars Wirzenius | 1 | -0/+4 | |
git does the same thing. This improves the wall clock time to run benchmark-store with a million chunks from a 40.36 seconds to 18.70, on a system with NVMe and ext4. | |||||
2020-11-25 | feat: add programs to benchmark server chunk storage | Lars Wirzenius | 1 | -0/+5 | |
2020-11-08 | feat: make ChunkId serializable to SQLite | Lars Wirzenius | 1 | -0/+10 | |
We will need this when we store a backup generation in an SQLite file. | |||||
2020-10-16 | feat: obnam-restore restores generation to stdout | Lars Wirzenius | 1 | -3/+8 | |
2020-09-18 | use to_string method for ChunkId instead of format! macro | Lars Wirzenius | 1 | -4/+4 | |
2020-09-18 | feat: make ChunkId usable in a HashMap and serializble | Lars Wirzenius | 1 | -1/+3 | |
We will soon be using ChunkId as keys in a HashMap and serialize them in HTTP server responses. This commit enables those things. | |||||
2020-09-17 | feat: add an in-memory index of chunks for searching | Lars Wirzenius | 1 | -1/+1 | |
2020-09-17 | feat: add an initial ChunkId implementation | Lars Wirzenius | 1 | -0/+83 | |