Search⌘ K

File types

Explore how to determine different file types within C++ using filesystem predicates. Learn to check if a path refers to files like directories, symbolic links, sockets, or regular files and understand overlapping file properties.

We'll cover the following...

By using the following predicates, you can easily ask for the type of file.

{title=“The file types of the filesystem”}

file types Description
is_block_file Checks if the path refers
...