Browse Source

Documentation

pull/66/head
Louis 10 years ago
parent
commit
9d5f3b270b
  1. 8
      patacrep/files.py

8
patacrep/files.py

@ -13,9 +13,13 @@ import sys
LOGGER = logging.getLogger(__name__)
def recursive_find(root_directory, extensions):
"""Recursively find files matching a pattern, from a root_directory.
"""Recursively find files with some extension, from a root_directory.
Return a list of files matching the pattern. TODO
Return a list of files matching those conditions.
Arguments:
- `extensions`: list of accepted extensions.
- `root_directory`: root directory of the search.
"""
if not os.path.isdir(root_directory):
return []

Loading…
Cancel
Save