summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-29 11:50:20 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-04 09:07:15 +1100
commit01ea5813a8e3b8e914332002e744e3328f55f6cd (patch)
tree5684bcf7f081c5230518394ddc732316e36674e7 /pkg/config
parent03b946cc8f9e94fe3fd53ac619ace2af2662aac2 (diff)
align Gui struct with GitCommand
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/app_config.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go
index cb740fd62..7ce467335 100644
--- a/pkg/config/app_config.go
+++ b/pkg/config/app_config.go
@@ -41,8 +41,6 @@ type AppConfigurer interface {
GetUserConfigDir() string
GetAppState() *AppState
SaveAppState() error
- SetIsNewRepo(bool)
- GetIsNewRepo() bool
ReloadUserConfig() error
ShowCommandLogOnStartup() bool
}
@@ -166,37 +164,22 @@ func loadUserConfig(configFiles []string, base *UserConfig) (*UserConfig, error)
return base, nil
}
-// GetIsNewRepo returns known repo boolean
-func (c *AppConfig) GetIsNewRepo() bool {
- return c.IsNewRepo
-}
-
-// SetIsNewRepo set if the current repo is known
-func (c *AppConfig) SetIsNewRepo(toSet bool) {
- c.IsNewRepo = toSet
-}
-
-// GetDebug returns debug flag
func (c *AppConfig) GetDebug() bool {
return c.Debug
}
-// GetVersion returns debug flag
func (c *AppConfig) GetVersion() string {
return c.Version
}
-// GetCommit returns debug flag
func (c *AppConfig) GetCommit() string {
return c.Commit
}
-// GetBuildDate returns debug flag
func (c *AppConfig) GetBuildDate() string {
return c.BuildDate
}
-// GetName returns debug flag
func (c *AppConfig) GetName() string {
return c.Name
}