storj/cmd/uplink/ulfs
Jeff Wendling f3f22d8443 cmd/uplink/ulfs: fix listing root on windows
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
2023-02-03 11:02:17 -05:00
..
buffer_test.go cmd/uplink: add buffering while writing to stdout 2022-06-09 15:10:04 +00:00
buffer.go cmd/uplink: add buffering while writing to stdout 2022-06-09 15:10:04 +00:00
filesystem.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
handle_file.go cmd/uplink: fix recursive copy and improve tests 2022-05-11 15:17:16 -04:00
handle_generic.go cmd/uplink: adding Length Method to MultiReadHandle 2022-05-13 21:31:45 +02:00
handle_std_test.go cmd/uplink/ulfs: disallow writes after first failure 2022-04-25 18:16:46 +03:00
handle_std.go cmd/uplink: adding Length Method to MultiReadHandle 2022-05-13 21:31:45 +02:00
handle_uplink.go cmd/uplink: skip abort on committed multipart writes 2023-01-05 18:30:23 +00:00
helpers_iterator.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
local_backend_mem.go cmd/uplink: fix recursive copy and improve tests 2022-05-11 15:17:16 -04:00
local_backend_os.go cmd/uplink: fix recursive copy and improve tests 2022-05-11 15:17:16 -04:00
local.go cmd/uplink/ulfs: fix listing root on windows 2023-02-03 11:02:17 -05:00
mixed.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
remote.go cmd/uplink: bring back --metadata for cp command 2022-05-18 15:58:53 +00:00