Deleting useless GetPath function

This commit is contained in:
Denis-Cosmin Nutiu 2017-11-09 22:40:28 +02:00
parent da7f4cbfd0
commit acc1b82b8a

View file

@ -21,15 +21,6 @@ func containsSlash(dir string) bool {
// This will act like a root cage. It must end with a forward slash!
var BasePath = "/Users/denis/GoglandProjects/golangBook/"
// GetPath will return the complete path
//func GetPath(stack *StringStack) string {
// if stack.IsEmpty() {
// return BasePath
// }
//
// return BasePath
//}
// MakePathFromStringStack gets a StringStack and makes a path.
func MakePathFromStringStack(stack *StringStack) string {
var buffer bytes.Buffer