From e29d7e7f2e2602c516f98fd2f733be1efcb7eb7d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 10 Mar 2019 13:07:28 +1030 Subject: [PATCH] Entry Path method returns a path with the correct path separator --- entry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.go b/entry.go index 803b223..8155604 100644 --- a/entry.go +++ b/entry.go @@ -119,7 +119,7 @@ func (e *Entry) Path() string { p[i], p[j] = p[j], p[i] } - return strings.Join(p, "/") + return strings.Join(p, string(os.PathSeparator)) } // Open returns an *io.SectionReader of the entry's contents. nil is returned if