yggdrasil-go/src/admin
Klemens Nanni 874083da79
Replace repeated subscripts with single TrimPrefix (#1176)
This stood out to me while reading the code: [7:] is skipping "unix://",
so why not do that?

Doing so reveals a bug in the last line changed, where chmod(2) failure
would print just the prefix, not everything but it... easy to miss, but
now this kind of bug can no longer happen.
2024-09-30 14:25:04 +01:00
..
addpeer.go Various clean-ups 2024-07-20 12:31:58 +01:00
admin.go Replace repeated subscripts with single TrimPrefix (#1176) 2024-09-30 14:25:04 +01:00
error.go Refactor admin socket, export request/response structs, remove types package 2021-05-16 19:51:09 +01:00
getpaths.go Update admin socket response sorting 2024-09-23 22:40:52 +01:00
getpeers.go Update admin socket response sorting 2024-09-23 22:40:52 +01:00
getself.go Various clean-ups 2024-07-20 12:31:58 +01:00
getsessions.go Update admin socket response sorting 2024-09-23 22:40:52 +01:00
gettree.go Update admin socket response sorting 2024-09-23 22:40:52 +01:00
options.go clean up some debug API output 2023-10-28 06:36:01 -05:00
removepeer.go Various clean-ups 2024-07-20 12:31:58 +01:00