| 183 | #ifdef NEED_EXPLICIT_SYNC_DIR |
| 184 | |
| 185 | int my_sync_dir_by_file(const char *file_name, myf my_flags) |
| 186 | { |
| 187 | char dir_name[FN_REFLEN]; |
| 188 | size_t dir_name_length; |
| 189 | dirname_part(dir_name, file_name, &dir_name_length); |
| 190 | return my_sync_dir(dir_name, my_flags); |
| 191 | } |
| 192 | |
| 193 | #else /* NEED_EXPLICIT_SYNC_DIR */ |
| 194 |
no test coverage detected