mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02: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