coan 4.2.4
|
![]() |
Modules | |
Macro-generated code | |
Files | |
file | dataset.c |
file | dataset.h |
Functions | |
void | dataset_filter_filetypes (const char *list) |
void | dataset_add (char const *path) |
void dataset_add | ( | char const * | path | ) |
Add files to the input dataset.
path | Name of file or directory to be included in the input dataset. |
If path is a file that satisfies any --filter
option it is added to the input dataset.
If path is a directory then files recursively beneath it that satisfy any --filter
option are added to the input dataset.
Definition at line 164 of file dataset.c.
References build_proc(), file_tree_add(), and GET_PUBLIC.
Referenced by add_files().
void dataset_filter_filetypes | ( | const char * | list | ) |
Parse the argument to the --filter
option - a comma separated list of file extensions - and store these extensions internally for filtering files added to the input dataset.
Definition at line 149 of file dataset.c.
References file_tree_set_filter(), filter_filename(), GET_PUBLIC, SET_STATE, and zallocate().
Referenced by parse_command_args().