def listdir(self, name, **kwargs):
assert self._is_s3(name), "<STR_LIT>"<EOL>if not name.endswith('<STR_LIT:/>'):<EOL><INDENT>name += "<STR_LIT:/>"<EOL><DEDENT>return self.list(name, delimiter='<STR_LIT:/>', **kwargs)<EOL>
Returns a list of the files under the specified path.

This is different from list as it will only give you files under the
current directory, much like ls.

name must be in the form of `s3://bucket/prefix/`

Parameters
----------
keys: optional
    if True then this will return the actual boto keys for files
    that are encountered
objects: optional
    if True then this will return the actual boto objects for
    files or prefixes that are encountered