diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-12-27 01:00:30 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-12-27 20:41:50 -0700 |
commit | 6a314a2de6c2b3299b2220e90be9338d1365c076 (patch) | |
tree | 2b0bbbb1b48cdeec8c6a8165282a76408cc54a91 /lib/btrfs/btrfssum/csum.go | |
parent | a54e21d9538abece01ecc2e5327eed01fa56a949 (diff) |
Improve comments and related messages
Diffstat (limited to 'lib/btrfs/btrfssum/csum.go')
-rw-r--r-- | lib/btrfs/btrfssum/csum.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/btrfs/btrfssum/csum.go b/lib/btrfs/btrfssum/csum.go index c7c1f37..770f6ea 100644 --- a/lib/btrfs/btrfssum/csum.go +++ b/lib/btrfs/btrfssum/csum.go @@ -91,11 +91,11 @@ func (typ CSumType) Sum(data []byte) (CSum, error) { binary.LittleEndian.PutUint32(ret[:], crc) return ret, nil case TYPE_XXHASH: - panic("not implemented") + panic("TODO: XXHASH not yet implemented") case TYPE_SHA256: - panic("not implemented") + panic("TODO: SHA256 not yet implemented") case TYPE_BLAKE2: - panic("not implemented") + panic("TODO: BLAKE2 not yet implemented") default: return CSum{}, fmt.Errorf("unknown checksum type: %v", typ) } |