I believe I've identified a bug that causes Stat() to fail in certain circumstances. Given two objects, a/b.txt and a.txt, a call to fs.Stat(fsys, "a") will fail: open a: file does not exist. I believe this is because the MaxKeys budget (of 1) in the call to ListObjects is used-up by a.txt in the response Contents (link).
I believe I've identified a bug that causes
Stat()
to fail in certain circumstances. Given two objects,a/b.txt
anda.txt
, a call tofs.Stat(fsys, "a")
will fail:open a: file does not exist
. I believe this is because theMaxKeys
budget (of 1) in the call toListObjects
is used-up bya.txt
in the responseContents
(link).I'll submit a failing test in a PR