From f9edec7e4169ecda63ba15762f12e64803b9984d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 16 Aug 2025 02:32:57 +0900 Subject: hst: merge miscellaneous files These structs were going to be bigger at some point. They turned out not to be. Signed-off-by: Ophestra --- hst/paths.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 hst/paths.go (limited to 'hst/paths.go') diff --git a/hst/paths.go b/hst/paths.go deleted file mode 100644 index 7410d7a0..00000000 --- a/hst/paths.go +++ /dev/null @@ -1,15 +0,0 @@ -package hst - -import "hakurei.app/container" - -// Paths contains environment-dependent paths used by hakurei. -type Paths struct { - // temporary directory returned by [os.TempDir] (usually `/tmp`) - TempDir *container.Absolute `json:"temp_dir"` - // path to shared directory (usually `/tmp/hakurei.%d`) - SharePath *container.Absolute `json:"share_path"` - // XDG_RUNTIME_DIR value (usually `/run/user/%d`) - RuntimePath *container.Absolute `json:"runtime_path"` - // application runtime directory (usually `/run/user/%d/hakurei`) - RunDirPath *container.Absolute `json:"run_dir_path"` -} -- cgit v1.3.1