diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:32:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:32:57 +0900 |
| commit | f9edec7e4169ecda63ba15762f12e64803b9984d (patch) | |
| tree | bc3682c185dc32bfb941b68578ead2c85449d60b /hst/paths.go | |
| parent | 305c600cf5b69e16538e0142cf3d10844a671577 (diff) | |
hst: merge miscellaneous files
These structs were going to be bigger at some point. They turned out not to be.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/paths.go')
| -rw-r--r-- | hst/paths.go | 15 |
1 files changed, 0 insertions, 15 deletions
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"` -} |
