Report that directory DIR was made, if OPTIONS requests this. */
| 119 | |
| 120 | /* Report that directory DIR was made, if OPTIONS requests this. */ |
| 121 | static void |
| 122 | announce_mkdir (char const *dir, void *options) |
| 123 | { |
| 124 | struct mkdir_options const *o = options; |
| 125 | if (o->created_directory_format) |
| 126 | prog_fprintf (stdout, o->created_directory_format, quoteaf (dir)); |
| 127 | } |
| 128 | |
| 129 | /* Make ancestor directory DIR, whose last component is COMPONENT, |
| 130 | with options OPTIONS. Assume the working directory is COMPONENT's |
no test coverage detected