Types of filesystem entries.
Defined in <SDL3/SDL_filesystem.h>
typedef enum SDL_PathType
{/**< path does not exist */
SDL_PATHTYPE_NONE, /**< a normal file */
SDL_PATHTYPE_FILE, /**< a directory */
SDL_PATHTYPE_DIRECTORY, /**< something completely different like a device node (not a symlink, those are always followed) */
SDL_PATHTYPE_OTHER } SDL_PathType;
Note that there may be other sorts of items on a filesystem: devices, symlinks, named pipes, etc. They are currently reported as SDL_PATHTYPE_OTHER.
This enum is available since SDL 3.1.3.