jesseduffield.lazygit/pkg/gui/presentation
Eng Zer Jun f933a2f7ec
Replace min/max helpers with built-in min/max
We upgraded our minimum Go version to 1.21 in commit
57ac9c2189. We can now replace our
`utils.Min` and `utils.Max` functions with the built-in `min` and `max`.

Reference: https://go.dev/ref/spec#Min_and_max
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2024-04-07 23:24:10 +08:00
..
authors Right-align key labels in menu 2023-05-21 12:09:43 +10:00
graph Replace min/max helpers with built-in min/max 2024-04-07 23:24:10 +08:00
icons create iconProperties struct and convert iconMaps to use iconProperties 2023-10-18 21:21:36 +11:00
branches.go Replace min/max helpers with built-in min/max 2024-04-07 23:24:10 +08:00
branches_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
commits.go Replace min/max helpers with built-in min/max 2024-04-07 23:24:10 +08:00
commits_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
files.go Add config setting to suppress showing file icons 2024-01-22 08:40:03 +01:00
files_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
item_operations.go Show inline waiting status when checking out a local branch 2024-03-17 07:53:38 +01:00
reflog_commits.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remote_branches.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remotes.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
stash_entries.go feat: add age on stash lines 2023-12-27 11:21:49 +01:00
status.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
submodules.go Show all submodules recursively 2024-03-07 20:16:28 +01:00
suggestions.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
tags.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
working_tree.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktrees.go Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00