diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-21 01:49:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-21 01:49:36 +0900 |
| commit | 766dd89ffa198a315b043230f904636461c41efe (patch) | |
| tree | 163290a35109da0cae36c6453fc4b56529cf4d54 /cmd/hsu/path.go | |
| parent | 699c19e972a3cbcc714403aedffcb5ff74386cfc (diff) | |
internal: clean up build strings
These names are less ambiguous and should be understandable without reading the source code.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hsu/path.go')
| -rw-r--r-- | cmd/hsu/path.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cmd/hsu/path.go b/cmd/hsu/path.go deleted file mode 100644 index 53aa9d10..00000000 --- a/cmd/hsu/path.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "log" - "path" -) - -const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID" - -var ( - hmain = compPoison -) - -func mustCheckPath(p string) string { - if p != compPoison && p != "" && path.IsAbs(p) { - return p - } - log.Fatal("this program is compiled incorrectly") - return compPoison -} |
