remove unused SourceDir func

This commit is contained in:
c9s 2021-05-04 01:06:20 +08:00
parent 0fbc388333
commit 1ad8b0b641

View File

@ -20,11 +20,6 @@ func CacheDir() string {
return prepareDir(dir)
}
func SourceDir() string {
home := HomeDir()
return path.Join(home, "source")
}
func HomeDir() string {
homeDir, err := os.UserHomeDir()
if err != nil {