From 54765d2236e792f97eeed81e979915ec09371785 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 14 Jul 2024 14:03:44 +0200 Subject: [PATCH] Cleanup: remove unused method AppConfig.ConfigFilename --- pkg/config/app_config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 3364ba554..151a8b65a 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -302,11 +302,6 @@ func stateFilePath(filename string) (string, error) { return xdg.StateFile(filepath.Join("lazygit", filename)) } -// ConfigFilename returns the filename of the default config file -func (c *AppConfig) ConfigFilename() string { - return filepath.Join(c.UserConfigDir, ConfigFilename) -} - // SaveAppState marshalls the AppState struct and writes it to the disk func (c *AppConfig) SaveAppState() error { marshalledAppState, err := yaml.Marshal(c.AppState)