Return the file extension for a path.
(path, force_posix=False)
| 229 | |
| 230 | |
| 231 | def file_extension(path, force_posix=False): |
| 232 | """ |
| 233 | Return the file extension for a path. |
| 234 | """ |
| 235 | return splitext(path, force_posix)[1] |
| 236 | |
| 237 | |
| 238 | def splitext_name(file_name, is_file=True): |
nothing calls this directly
no test coverage detected