From e2c734b8518275eeb74661de28966a00b9b6c212 Mon Sep 17 00:00:00 2001 From: Colin Marc Date: Fri, 22 Jun 2018 10:15:12 +0200 Subject: [PATCH] Join using regular separators on the client, not OS-specific ones --- walk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walk.go b/walk.go index 2b17721e..5bcb1ea5 100644 --- a/walk.go +++ b/walk.go @@ -42,7 +42,7 @@ func (c *Client) walk(path string, walkFn filepath.WalkFunc) error { sort.Strings(names) for _, name := range names { - err = c.walk(filepath.Join(path, name), walkFn) + err = c.walk(filepath.ToSlash(filepath.Join(path, name)), walkFn) if err != nil { return err }