1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/pkg/utils
Jesse Duffield e33fe37a99 Standardise on using lo for slice functions
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.

My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).

I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
..
yaml_utils Avoid rewriting the file if nothing changed 2023-06-26 08:11:10 +02:00
color_test.go update linters 2022-03-19 12:12:57 +11:00
color.go feat: accept named colors for gui.authorColors 2022-05-04 19:03:00 +09:00
date_test.go Fix unit tests 2023-07-30 18:35:23 +10:00
date.go Use 'M' for months in branches panel 2023-07-30 18:35:22 +10:00
dummies.go Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
errors.go move OS commands into their own package 2020-09-29 20:48:49 +10:00
formatting_test.go Cleanup: remove unnecessary if statements 2023-06-26 08:11:10 +02:00
formatting.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
io.go refactor 2021-06-02 20:33:52 +10:00
lines_test.go fix: fix stash with empty message 2022-10-13 22:23:56 +09:00
lines.go fix: fix stash with empty message 2022-10-13 22:23:56 +09:00
once_writer_test.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
once_writer.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
rebase_todo_test.go Cleanup: remove unnecessary if statements 2023-06-26 08:11:10 +02:00
rebase_todo.go Use comment char config on interactive rebase 2023-07-02 02:07:32 -03:00
regexp_test.go add FindNamedMatches function in utils 2021-12-26 16:48:23 +11:00
regexp.go add FindNamedMatches function in utils 2021-12-26 16:48:23 +11:00
search_test.go Case insensitive string comparison 2023-07-03 12:54:13 +10:00
search.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
slice_test.go Make moving todo commits more robust 2023-04-15 08:36:03 +02:00
slice.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
string_stack.go start refactoring gui 2022-03-17 19:13:40 +11:00
template_test.go fix: fix ReplacePlaceholderString 2023-01-18 20:56:22 +09:00
template.go fix: fix ReplacePlaceholderString 2023-01-18 20:56:22 +09:00
thread_safe_map_test.go use thread safe map 2022-10-02 20:57:44 -07:00
thread_safe_map.go use thread safe map 2022-10-02 20:57:44 -07:00
utils_test.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
utils.go Better logic for knowing which repo we're in 2023-07-30 18:35:22 +10:00