diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-07-19 21:25:05 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-08-09 19:42:51 +0300 |
| commit | 3cf10c70d9a8a48270777e8ce9b6352d2e454cc3 (patch) | |
| tree | d321c92d8ca3c6f570cb125e26481cd2d1aa2cc3 /src/corelib/io/qdir.cpp | |
| parent | 5f012d8b256475fda2f4182245336390387972fc (diff) | |
QDirListing: add IncludeBrokenSymlinks flag
Sometimes you may want to list broken symlinks even if ResolveSymlinks is
set, e.g. a symlink to dir `current -> app-ver-1.2`, app-ver-1.2 could have
been removed, and will be replaced by app-ver-1.3 at some later time.
This also eases porting QDir::Filters to QDirListing::IteratorFlags.
[ChangeLog][QtCore][QDirListing] Added IncludeBrokenSymlinks flag which
lists broken symbolic links regardless of the state of the
ResolveSymlinks flag. This provides compatibility with the
QDir::Filter::System flag in QDir.
Change-Id: I3280a9ebd342f74c48da2bf42dc23b7e9212accb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qdir.cpp')
0 files changed, 0 insertions, 0 deletions
