aboutsummaryrefslogtreecommitdiffstats
path: root/common/path.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-06 22:15:36 +0800
committerFelix Lange <fjl@twurst.com>2015-08-06 22:43:43 +0800
commit78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2 (patch)
treeabe044da849d214eaa8db9c0c13a7ea273bc0d2d /common/path.go
parentb23b4dbd79b4699abde4b3954c7480e137ffc3be (diff)
downloadgo-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.tar.gz
go-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.tar.zst
go-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.zip
common: remove windows path functions
They were unused and their tests failed on Windows.
Diffstat (limited to 'common/path.go')
-rw-r--r--common/path.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/path.go b/common/path.go
index 0d7adb961..8b3c7d14b 100644
--- a/common/path.go
+++ b/common/path.go
@@ -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
-}