bbengfort / fluidfs

A highly consistent distributed filesystem built with FUSE
http://www.fluidfs.com
MIT License
1 stars 0 forks source link

Chunker.Offset and Chunker.Stride #41

Open bbengfort opened 7 years ago

bbengfort commented 7 years ago

The fixed length chunker and the variable length chunker return two different data for the Offset() method.

Fixed length returns the end index, where variable length returns the length of the current block.

Modify fixed length to return the end index.