aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/state/state.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-25 21:28:49 +0900
committerOphestra <cat@gensokyo.uk>2025-10-25 21:29:24 +0900
commit470e545d2761b77f95147f61f633f4d629750ee7 (patch)
tree5badf0a34ecaa1487e88ffe6aa0467f7d55cd4c4 /internal/app/state/state.go
parent8d3381821f2a8d257a4c55c0dd311019bd0e78eb (diff)
internal/app/state: use internal/lockedfile
This is a pretty solid implementation backed by robust tests, with a much cleaner interface. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/state/state.go')
-rw-r--r--internal/app/state/state.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/app/state/state.go b/internal/app/state/state.go
index ef783bfb..c5238d18 100644
--- a/internal/app/state/state.go
+++ b/internal/app/state/state.go
@@ -19,9 +19,6 @@ type Store interface {
// List queries the store and returns a list of identities known to the store.
// Note that some or all returned identities might not have any active apps.
List() (identities []int, err error)
-
- // Close releases any resources held by Store.
- Close() error
}
// Cursor provides access to the store of an identity.