//DirExists function will check if the Directory exists in the specified path
DirExists function will check if the Directory exists in the specified path
// DirExists function will check if the Directory exists in the specified path
func DirExists(path string) bool {
	fileInfo, err := os.Stat(path)
	if os.IsNotExist(err) {
		return false
	}
	return fileInfo.IsDir()
}
func DirExists ( path string ) bool { fileInfo , err := os . Stat ( path ) if os . IsNotExist ( err ) { return false } return fileInfo . IsDir ( ) }
DirExists function will check if the Directory exists in the specified path
DirExists function will check if the Directory exists in the specified path