Stat
a_filetype
a_filetype(mode: int) -> str
Produce a nice human-readable string describing the file type encoded in the 'st_mode' field of os.stat_result. It will be prefixed with an indefinite article: 'a regular file, 'a directory', etc.
This is all alone in its own file because it's only needed for diagnostics in unusual circumstances so we want to avoid loading it unless we do need it.