aboutsummaryrefslogtreecommitdiff
path: root/internal/contentenc/offsets.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-07-02 15:33:48 +0200
committerJakob Unterwurzacher2016-07-02 15:35:06 +0200
commit04ad0635159150409252f6901463768008802221 (patch)
treec9cfe215fef896916cabeee130159e48077d3968 /internal/contentenc/offsets.go
parent7b22b426b9f5e68a0ff51799e04f193dc74586d0 (diff)
fusefronted: move Truncate() and Allocate() to their own file
These are large complicated implementations that will share some code.
Diffstat (limited to 'internal/contentenc/offsets.go')
-rw-r--r--internal/contentenc/offsets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/contentenc/offsets.go b/internal/contentenc/offsets.go
index 256ea26..ebafe9b 100644
--- a/internal/contentenc/offsets.go
+++ b/internal/contentenc/offsets.go
@@ -76,7 +76,7 @@ func (be *ContentEnc) ExplodePlainRange(offset uint64, length uint64) []intraBlo
nextBlock.BlockNo = be.PlainOffToBlockNo(offset)
nextBlock.Skip = offset - be.BlockNoToPlainOff(nextBlock.BlockNo)
- // Minimum of remaining data and remaining space in the block
+ // Minimum of remaining plaintext data and remaining space in the block
nextBlock.Length = MinUint64(length, be.plainBS-nextBlock.Skip)
blocks = append(blocks, nextBlock)