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:
6
pkg/env/env.go
vendored
6
pkg/env/env.go
vendored
@ -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")
|
||||
|
Reference in New Issue
Block a user