1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

clearer separation of concerns when bootstrapping application

This commit is contained in:
Jesse Duffield
2022-05-07 15:23:08 +10:00
parent cf80978f15
commit cd5b041b0f
12 changed files with 328 additions and 205 deletions

6
pkg/env/env.go vendored
View File

@ -1,6 +1,10 @@
package env
import "os"
import (
"os"
)
// This package encapsulates accessing/mutating the ENV of the program.
func GetGitDirEnv() string {
return os.Getenv("GIT_DIR")