1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands
Jesse Duffield 7b302d8c29 Write unit tests with the help of afero
Afero is a package that lets you mock out a filesystem with an in-memory filesystem.
It allows us to easily create the files required for a given test without worrying about
a cleanup step or different tests tripping on eachother when run in parallel.

Later on I'll standardise on using afero over the vanilla os package
2023-07-30 18:35:36 +10:00
..
git_commands Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
git_config Use mutex on cached git config 2023-07-09 21:30:19 +10:00
hosting_service Update gitlab commit URL to match new routing 2023-05-22 07:39:47 +03:30
models Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00
oscommands Log when directory is changed 2023-07-30 18:35:22 +10:00
patch Refactor interface for ApplyPatch 2023-05-20 20:54:39 +10:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums more refactoring 2022-01-04 09:07:15 +11:00
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00
git_test.go Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
git.go Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00