aboutsummaryrefslogtreecommitdiff
path: root/repo.go
AgeCommit message (Collapse)Author
2021-09-13fix golint ci errorsn-peugnet
2021-09-13add read write wrappers to compress chunks' contentn-peugnet
2021-09-10use moare the reader interfacen-peugnet
2021-09-09better commit and restore tests (almost complete)n-peugnet
added some file path management function for prfixes and trailing slash
2021-09-09first add of restore function to Repon-peugnet
2021-09-09fix matchStream: encode prev if exists in epiloguen-peugnet
2021-09-09remove merge and extract tempchunksn-peugnet
2021-09-09move unused functions from repo to repo_testn-peugnet
2021-09-09export sketch in its own packagen-peugnet
so that tests can be cached and to make sure it is independant of the rest of the code also move tests in testdata as this folder is ignored by go test by default
2021-09-08start using chunk cachen-peugnet
2021-09-08add cache and start using it in repon-peugnet
2021-09-07fix matchStream did not store first chunkn-peugnet
2021-09-07prepare for recipe encoding by exporting filedsn-peugnet
2021-09-06initial chunk storagen-peugnet
2021-09-06fixes: chunk id starts from 0 & nil checkn-peugnet
2021-09-06generate new Polynomial only oncen-peugnet
2021-09-02hash and store chunks left by matchStreamn-peugnet
2021-09-02move maps inside repon-peugnet
2021-09-02find similar chunks while matching streamn-peugnet
2021-09-01Prepare for delta encodingn-peugnet
2021-09-01move some consts into repon-peugnet
2021-08-31split extractTempChunks into 2 funcsn-peugnet
2021-08-31fix matchStream if first chunk is not matchedn-peugnet
2021-08-31join too small temp chunks with previous one if possiblen-peugnet
2021-08-31do not fill partial cunks with paddingn-peugnet
this way a partial chunk may have less superfeatures than a complete one
2021-08-30make sketch parameters global varsn-peugnet
2021-08-30fix: matchStream returned incorrect nrw chunk datan-peugnet
2021-08-30fix: last partial chunk is not added to recipen-peugnet
2021-08-30fix: chunkId added multiple times for same superFeaturen-peugnet
2021-08-30better diff testn-peugnet
2021-08-30findSimilarChunk returns an Id if foundn-peugnet
2021-08-28refactor(chunks): use more interfacesn-peugnet
2021-08-27add findSimilarChunks method to test sketchesn-peugnet
Still missing a real test...
2021-08-26add SketchChunk functionn-peugnet
2021-08-26try to use more streams (part 2)n-peugnet
2021-08-25try to use more streams (part 1)n-peugnet
2021-08-24add extractNewChunksn-peugnet
2021-08-24refactor: extract chunk.og & add Reader gettern-peugnet
2021-08-23try bsdiff and rework some of the APIn-peugnet
2021-08-23add ChunkId that contains version numbern-peugnet
2021-08-23better rolling hash matchn-peugnet
If a chunk matched, directly skip to the next chunk instead of calculating every single byte by byte checksum in it.
2021-08-23initial rolling hash matchingn-peugnet
2021-08-22add store and load files listn-peugnet
2021-08-21dont use channels for listfilesn-peugnet
2021-08-20initial repo treen-peugnet
2021-08-20Store and Load chunks andn-peugnet
- also add a test for store and load - precise channel direction in function args
2021-08-20initial commitn-peugnet
first working chunking logic