blob: 02a755074039f90a6156992ebbd1d6744342d652 [file] [log] [blame]
import os
def list_dir_contents(srcdir):
contents = set()
for _, dirs, files in os.walk(srcdir):
for d in dirs:
contents.add(d)
for f in files:
contents.add(f)
return contents