Documentation for Bazel master
FileType FileType(types=[])Deprecated. Creates a file filter from a list of strings. For example, to match files ending with .cc or .cpp, use:
FileType([".cc", ".cpp"])
Parameter | Description |
---|---|
types
|
a list of the accepted file extensions. |
list FileType.filter(files)Returns a list created from the elements of the parameter containing all the
File
s that match the FileType.
Parameter | Description |
---|---|
files
|
The files to match. This parameter must be a |