Consistently use "age" when referencing age files, not "aging"

This commit is contained in:
2025-11-23 03:25:20 -05:00
parent 50d51f9d96
commit 3ddce4bdf5
8 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ var (
EntryRoot = back.Home + "/.local/share/libmutton" // Path to libmutton entry directory
ConfigDir = back.Home + "/.config/libmutton" // Path to libmutton configuration directory
ConfigPath = ConfigDir + "/libmutton.ini" // Path to libmutton configuration file
AgeDir = ConfigDir + "/aging" // Path to libmutton password aging database
AgeDir = ConfigDir + "/age" // Path to libmutton password age directory
)
const (
+1 -1
View File
@@ -8,7 +8,7 @@ var (
EntryRoot = back.Home + "\\AppData\\Local\\libmutton\\entries" // Path to libmutton entry directory
ConfigDir = back.Home + "\\AppData\\Local\\libmutton\\config" // Path to libmutton configuration directory
ConfigPath = ConfigDir + "\\libmutton.ini" // Path to libmutton configuration file
AgeDir = ConfigDir + "\\aging" // Path to libmutton password aging database
AgeDir = ConfigDir + "\\age" // Path to libmutton password age directory
)
const (
+1 -1
View File
@@ -39,7 +39,7 @@ func DirInit(preserveOldConfigDir bool) (string, error) {
return "", errors.New("unable to create \"" + ConfigDir + "\": " + err.Error())
}
// create password aging directory
// create password age directory
err = os.MkdirAll(AgeDir, 0700)
if err != nil {
return "", errors.New("unable to create \"" + AgeDir + "\": " + err.Error())