Files
mc/cmd
Anis Elleuch 59187f2ef7 s3: Use head API before listing in client.Stat() (#3156)
Stat() is supposed to return valid information for existing
objects and existing prefixes as well.

The current mechanism issues a listing request and searches
for the object or prefix in the returned list, but this could take
time if there are a lot of entries under a parent prefix.

The new commit changes the internal behavior but not the
functional output. It issues a HEAD request first, if there
is no object then assumes it is a prefix and does listing
in order to find it.
2020-04-16 16:23:37 -07:00
..
2020-04-01 01:35:46 -07:00
2020-04-01 01:35:46 -07:00
2019-08-13 14:11:27 -07:00
2020-04-03 22:22:20 -07:00
2019-08-13 14:11:27 -07:00
2020-03-22 20:59:49 -07:00
2020-04-03 22:22:20 -07:00
2019-10-12 00:07:10 +05:30
2020-04-14 11:59:16 -07:00
2020-04-03 22:22:20 -07:00
2020-04-03 22:22:20 -07:00
2020-04-03 22:22:20 -07:00
2020-04-03 22:22:20 -07:00
2020-04-14 11:59:16 -07:00
2020-04-14 11:59:16 -07:00
2020-04-03 22:22:20 -07:00
2020-03-23 09:23:52 -07:00
2020-03-22 20:59:49 -07:00
2020-03-23 09:23:52 -07:00
2020-03-23 09:23:52 -07:00
2020-04-03 22:22:20 -07:00
2020-04-03 22:22:20 -07:00