Permalink
Browse files

use const instead of hardcoding

  • Loading branch information...
1 parent 08fde09 commit 2cba084ebeb5a336cc5b4e8f850e8023d6b82b31 @ChrisBuchholz committed Feb 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.go
View
@@ -12,8 +12,8 @@ import (
"regexp"
)
-// define the mount point (directory) of volumes
const VOLUME_MOUNT_POINT string = "/Volumes/"
+const CONFIG_NAME string = "/.mencfs"
type Volume struct {
Source string
@@ -28,7 +28,7 @@ func GetConfigFilePath() string {
if err != nil {
return ""
}
- return u.HomeDir + "/.mencfs"
+ return u.HomeDir + CONFIG_NAME
}
// Parse a config file line, which is a tab-seperated list of

0 comments on commit 2cba084

Please sign in to comment.