ext4 read-only for now #354
Annotations
11 errors
|
lint:
filesystem/ext4/file.go#L50
Error return value of `fs.file.ReadAt` is not checked (errcheck)
|
lint:
filesystem/ext4/bitmaps.go#L46
assignOp: replace `bm.bits[byteNumber] = bm.bits[byteNumber] & mask` with `bm.bits[byteNumber] &= mask` (gocritic)
|
lint:
filesystem/ext4/bitmaps.go#L56
assignOp: replace `bm.bits[byteNumber] = bm.bits[byteNumber] | mask` with `bm.bits[byteNumber] |= mask` (gocritic)
|
lint:
filesystem/ext4/bitmaps.go#L101
unnamedResult: consider giving a name to these results (gocritic)
|
lint:
filesystem/ext4/directoryentry.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
filesystem/ext4/directoryentry.go#L52
stringXbytes: can simplify `[]byte(de.filename)` to `de.filename` (gocritic)
|
lint:
filesystem/ext4/dirhash.go#L160
assignOp: replace `hash = hash & ^uint32(1)` with `hash &= ^uint32(1)` (gocritic)
|
lint:
filesystem/ext4/dirhash.go#L10
octalLiteral: use new octal literal style, 0o13240474631 (gocritic)
|
lint:
filesystem/ext4/dirhash.go#L11
octalLiteral: use new octal literal style, 0o15666365641 (gocritic)
|
lint:
filesystem/ext4/dirhash.go#L112
unnamedResult: consider giving a name to these results (gocritic)
|
Loading