diff options
author | Felix Lange <fjl@twurst.com> | 2015-08-06 22:15:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-08-06 22:43:43 +0800 |
commit | 78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2 (patch) | |
tree | abe044da849d214eaa8db9c0c13a7ea273bc0d2d /common/path.go | |
parent | b23b4dbd79b4699abde4b3954c7480e137ffc3be (diff) | |
download | go-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.go | 11 |
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 -} |