filesToTag

lsst.sconsUtils.builders.filesToTag(root=None, fileRegex=None, ignoreDirs=None)

Return a list of files that need to be scanned for tags, starting at directory root.

Parameters:
root : str, optional

Directory root to search.

fileRegex : str, optional

Matching regular expression for files.

ignoreDirs : list

List of directories to ignore when searching.

Returns:
files : list

List of matching files.

Notes

These tags are for advanced Emacs users, and should not be confused with SVN tags or Doxygen tags.

Files are chosen if they match fileRegex; toplevel directories in list ignoreDirs are ignored. This routine won’t do anything unless you specified a “TAGS” target.