From 546b00429fa6998d20433583e10b394b90bca4f2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 26 Oct 2025 03:00:04 +0900 Subject: [PATCH] treewide: update doc comments Some internal/app/state types were relocated to hst as part of the API. This change updates doc comments referring to them. Signed-off-by: Ophestra --- cmd/hakurei/print.go | 4 ++-- internal/app/dispatcher_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/hakurei/print.go b/cmd/hakurei/print.go index aa7a26a..06c8b2a 100644 --- a/cmd/hakurei/print.go +++ b/cmd/hakurei/print.go @@ -38,7 +38,7 @@ func printShowSystem(output io.Writer, short, flagJSON bool) { t.Printf("RunDirPath:\t%s\n", info.RunDirPath) } -// printShowInstance writes a representation of [state.State] or [hst.Config] to output. +// printShowInstance writes a representation of [hst.State] or [hst.Config] to output. func printShowInstance( output io.Writer, now time.Time, instance *hst.State, config *hst.Config, @@ -243,7 +243,7 @@ func printPs(output io.Writer, now time.Time, s state.Store, short, flagJSON boo } } -// expandedStateEntry stores [state.State] alongside a string representation of its [state.ID]. +// expandedStateEntry stores [hst.State] alongside a string representation of its [hst.ID]. type expandedStateEntry struct { s string *hst.State diff --git a/internal/app/dispatcher_test.go b/internal/app/dispatcher_test.go index 74f72b4..839e9e4 100644 --- a/internal/app/dispatcher_test.go +++ b/internal/app/dispatcher_test.go @@ -47,7 +47,7 @@ const ( wantRuntimeSharePath = wantRunDirPath + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ) -// checkExpectInstanceId is the [state.ID] value used by checkOpBehaviour to initialise outcomeState. +// checkExpectInstanceId is the [hst.ID] value used by checkOpBehaviour to initialise outcomeState. var checkExpectInstanceId = *(*hst.ID)(bytes.Repeat([]byte{0xaa}, len(hst.ID{}))) type (