aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/store/header.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-30 12:59:20 +0900
committerOphestra <cat@gensokyo.uk>2026-08-30 12:59:20 +0900
commitd4fab811d3857c36f1d8271a940ffca113e012b7 (patch)
tree6a3acb3f64d6b74669a3049754313394bc0e7599 /internal/store/header.go
parentc2d900ec74e03e9c782cfe7b7ce06ff62cda6601 (diff)
internal/store: improve doc comments
This improves readability on narrow 3:2 display. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/store/header.go')
-rw-r--r--internal/store/header.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/store/header.go b/internal/store/header.go
index 5b5d73be..0e5a92a2 100644
--- a/internal/store/header.go
+++ b/internal/store/header.go
@@ -60,7 +60,8 @@ func (e *EntrySizeError) Error() string {
return "state entry file " + strconv.Quote(e.Name) + " is too short"
}
-// entryCheckFile checks whether [os.FileInfo] refers to a file that might hold [hst.State].
+// entryCheckFile checks whether [os.FileInfo] refers to a file that might hold
+// [hst.State].
func entryCheckFile(fi os.FileInfo) error {
if fi.IsDir() {
return syscall.EISDIR