Return the file name (or directory name) of a path.
(path, force_posix=False)
| 202 | |
| 203 | |
| 204 | def file_name(path, force_posix=False): |
| 205 | """ |
| 206 | Return the file name (or directory name) of a path. |
| 207 | """ |
| 208 | return resource_name(path, force_posix) |
| 209 | |
| 210 | |
| 211 | def parent_directory(path, force_posix=False, with_trail=True): |
no test coverage detected