mutapath.MutaPath.listdir
- MutaPath.listdir(match=None)[source]
List of items in this directory.
Use
files()
ordirs()
instead if you want a listing of just files or just subdirectories.The elements of the list are Path objects.
With the optional match argument, a callable, only return items whose names match the given pattern.