|
coan 4.2.4
|
|
Modules | |
| Macro-generated code | |
Files | |
| file | dataset.c |
Functions | |
| static bool | filter_filename (const char *filename) |
| static void | build_proc (file_tree_h ft, char const *name, file_tree_traverse_state_t context) |
| static void build_proc | ( | file_tree_h | ft, |
| char const * | name, | ||
| file_tree_traverse_state_t | context | ||
| ) | [static] |
The file_tree_callback_t that is called at each file and at each directory entry and exit while building the input file tree.
| ft | The file tree representing the current input directory. |
| name | The absolute name of that directory. |
| context | The symbolic constant denoting the context of the call, one of:-
|
Definition at line 121 of file dataset.c.
References file_tree_count(), FT_AT_FILE, FT_COUNT_FILES, FT_ENTERING_DIR, FT_LEAVING_DIR, PROGRESS_ADDED_DIR, PROGRESS_ADDED_FILE, PROGRESS_SEARCHING_DIR, and report().
Referenced by dataset_add().

| static bool filter_filename | ( | const char * | filename | ) | [static] |
Say whether a file is eligible for processing by matching one of the file extensions given by the --filter option.
Definition at line 86 of file dataset.c.
References GET_STATE, and PATH_DELIM.
Referenced by dataset_filter_filetypes().