adding path checks to manager
This commit is contained in:
@@ -80,6 +80,7 @@ func VerifySrcFile(src string) (string, error) {
|
||||
return fileName, nil
|
||||
}
|
||||
|
||||
//InitiateDirectory checks all of the directories to make sure they exist
|
||||
func InitiateDirectory(directory string) {
|
||||
// For the keys-folder we need to check if the folder exists...
|
||||
checkDir, err := IsDirectory(directory)
|
||||
|
Reference in New Issue
Block a user