<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def listdir(path='.'):
 """ Return a list containing the names of the entries in the directory given by path. Equivalent to "os.listdir". Args: path (path-like object):
 Path or URL. Returns: list of str: Entries names. """

    return [name.rstrip('/') for name, _ in
            get_instance(path).list_objects(path, first_level=True)]