Is there almost the equivalent of sys / stat.h in boost :: filesystem?

In particular, I would like to have access to user_id and group_id files. The closest equivalent I can find in stat struct is the file_status class, but it does not have corresponding fields.

Any idea? Hooray, Ben.

+4
source share
1 answer

According to the documentation, Boost :: filesystem provides tools for managing files and directories and the paths that identify them.

Although retrieving information about user_id / group_id may be useful, it may not be portable and therefore omitted.

+3
source

Source: https://habr.com/ru/post/1433619/


All Articles