common: remove windows path functions

They were unused and their tests failed on Windows.
This commit is contained in:
Felix Lange
2015-08-06 15:15:36 +01:00
parent b23b4dbd79
commit 78b101e15d
4 changed files with 2 additions and 65 deletions

View File

@ -116,14 +116,3 @@ func DefaultIpcPath() string {
}
return filepath.Join(DefaultDataDir(), "geth.ipc")
}
func IsWindows() bool {
return runtime.GOOS == "windows"
}
func WindonizePath(path string) string {
if string(path[0]) == "/" && IsWindows() {
path = path[1:]
}
return path
}