method: path.local.listdir

 list directory contents, possibly filter by the given fil func
            and possibly sorted.
        
    def listdir(self, fil=None, sort=None):

origin: path.local

where:

exceptions that might appear during execution:

function source:

def listdir(self, fil=None, sort=None):
    """ list directory contents, possibly filter by the given fil func
            and possibly sorted.
        """
    if isinstance(fil, str):
        fil = common.fnmatch(fil)
    res = []
    for name in self._callex(os.listdir, self.strpath):
        childurl = self.join(name)
        if fil is None or fil(childurl):
            res.append(childurl)
    if callable(sort):
        res.sort(sort)
    elif sort:
        res.sort()
    return res

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.0

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py

traceback path.local.listdir.1

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.2

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.listdir.3

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.4

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py

traceback path.local.listdir.5

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.6

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py

traceback path.local.listdir.7

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.8

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.9

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py

traceback path.local.listdir.10

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.11

called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py

traceback path.local.listdir.12

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.listdir.13

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.listdir.14

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.listdir.15

called in None</home/johnny/projects/merlinux/py/dist/py/test/raises.py:20>

traceback path.local.listdir.16

called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py

traceback path.local.listdir.17

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.18

called in /home/johnny/projects/merlinux/pypy-dist/pypy/config/pypyoption.py

traceback path.local.listdir.19

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.listdir.20