From 03b946cc8f9e94fe3fd53ac619ace2af2662aac2 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 29 Dec 2021 11:41:33 +1100 Subject: no more config in git command struct --- pkg/config/app_config.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pkg/config') diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index b1b1acb0c..cb740fd62 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -39,7 +39,6 @@ type AppConfigurer interface { GetUserConfig() *UserConfig GetUserConfigPaths() []string GetUserConfigDir() string - GetTempDir() string GetAppState() *AppState SaveAppState() error SetIsNewRepo(bool) @@ -226,10 +225,6 @@ func (c *AppConfig) GetUserConfigDir() string { return c.UserConfigDir } -func (c *AppConfig) GetTempDir() string { - return c.TempDir -} - func (c *AppConfig) ReloadUserConfig() error { userConfig, err := loadUserConfigWithDefaults(c.UserConfigPaths) if err != nil { -- cgit v1.2.3