aboutsummaryrefslogtreecommitdiff
path: root/hotline/test
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-06-25 18:27:56 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-06-25 18:29:12 -0700
commit23ddb9fca47a4a1923fc474db552418e3031b592 (patch)
tree4a2d275a3b73361f6080330b87567d827aad076f /hotline/test
parent48e5605b6ce8eb6ee55d0502d8050d9faa50bf6b (diff)
Refactor copyDir and findConfigPath functions in main.go
- Refactor copyDir: Add proper error handling, resource cleanup with defer, true recursion, better permissions (0755), and separation of concerns - Refactor configSearchPaths -> findConfigPath: Add directory validation, better naming, and clearer documentation - Add comprehensive test suite for all functions with 100% test coverage - Remove panic in copyDir, replace with proper error propagation - Fix resource leaks by using defer for file cleanup
Diffstat (limited to 'hotline/test')
0 files changed, 0 insertions, 0 deletions