Sign in
apache
/
buildstream
/
15de94cf14bd1e81ead39a12965e87ec11a953e6
/
.
/
tests
/
sources
/
__init__.py
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