You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This commit changes behavior of directory_entry constructors and modifiers that change the stored path in v4: the methods will now automatically query the filesystem for the file status instead of leaving the cached data default-initialized. This means that the paths passed to directory_entry must be valid, otherwise an error will be returned. Filesystem querying is implemented in the new directory_entry::refresh methods. The constructors and modifiers that accepted file_status arguments are now removed in v4. The cached file statuses are an implementation detail, and eventually we may want to add more cached data, as we add more observers to directory_entry. Also added a few file type observers to directory_entry. These observers allow to avoid querying the filesystem if the full file status is not cached but the file type is (i.e. when permissions are not cached). This is the case with readdir-based implementation of directory_iterator, if the underlying C library supports dirent::d_type field. recursive_directory_iterator has been updated to use the added file type observers instead of querying the full status. This may improve performance of directory iteration. Closes https://github.com/boostorg/filesystem/issues/288. |
6 days ago | |
---|---|---|
.github/workflows | 7 days ago | |
bug | 2 years ago | |
build | 7 days ago | |
cmake | 1 year ago | |
config | 7 days ago | |
doc | 6 days ago | |
example | 4 months ago | |
include/boost | 6 days ago | |
meta | 2 years ago | |
src | 6 days ago | |
test | 6 days ago | |
.gitattributes | 21 years ago | |
.gitignore | 9 years ago | |
CMakeLists.txt | 7 days ago | |
README.md | 2 years ago | |
appveyor.yml | 1 year ago | |
index.html | 11 years ago |
README.md
Boost.Filesystem
Boost.Filesystem, part of collection of the Boost C++ Libraries, provides facilities to manipulate files and directories, and the paths that identify them.
Directories
- doc - Documentation sources
- include - Interface headers of Boost.Filesystem
- src - Compilable source files of Boost.Filesystem
- test - Boost.Filesystem unit tests
- example - Boost.Filesystem usage examples
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
Build status
Branch | GitHub Actions | AppVeyor | Test Matrix | Dependencies |
---|---|---|---|---|
master |
||||
develop |
License
Distributed under the Boost Software License, Version 1.0.