f3f22d8443
listing "/" on windows was not returning files from the root because it was adding an extra separator unconditionally. the docs for filepath.Clean say The returned path ends in a slash only if it represents a root directory, such as "/" on Unix or `C:\` on Windows. so we need to add the slash only if it doesn't already have one to avoid the double slash problem while still ensuring the path ends with a slash. Change-Id: I98afc1f1a06bb06035c7647ecb0da3214080162d |
||
---|---|---|
.. | ||
buffer_test.go | ||
buffer.go | ||
filesystem.go | ||
handle_file.go | ||
handle_generic.go | ||
handle_std_test.go | ||
handle_std.go | ||
handle_uplink.go | ||
helpers_iterator.go | ||
local_backend_mem.go | ||
local_backend_os.go | ||
local.go | ||
mixed.go | ||
remote.go |