diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-26 03:00:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-26 03:00:04 +0900 |
| commit | 546b00429fa6998d20433583e10b394b90bca4f2 (patch) | |
| tree | 926eeb02b3ba34a10a1fe0b9d6e8220b5e8983f2 | |
| parent | 86f4219062ae4787ac9478b025abf8416e5593a2 (diff) | |
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 <cat@gensokyo.uk>
| -rw-r--r-- | cmd/hakurei/print.go | 4 | ||||
| -rw-r--r-- | 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 aa7a26a1..06c8b2a9 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 74f72b4b..839e9e42 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 ( |
