开发者

Can I get file attributes (hidden/archive...) with boost filesystem?

开发者 https://www.devze.com 2023-02-18 12:22 出处:网络
I am using boost::filesystem to copy a directory recursively. I would like to exclude hidden files. Is it 开发者_StackOverflow社区possible to get the FAT32 file attributes like \"hidden\" or \"archive

I am using boost::filesystem to copy a directory recursively. I would like to exclude hidden files. Is it 开发者_StackOverflow社区possible to get the FAT32 file attributes like "hidden" or "archive" using boost filesystem?

Thanks,

Philipp


Boost::filesystem currently restricts itself to POSIX file attributes. However, the file_status class documentation indicates that the implementation could be extended at any time. I would guess this is just waiting on someone motivated to do the work.

0

精彩评论

暂无评论...
验证码 换一张
取 消