This commit is contained in:
Ivan Smirnov 2025-07-06 23:44:34 +02:00 committed by GitHub
commit 166b50870d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,6 +215,7 @@ impl CacheInfo {
// If we have any globs, process them in a single pass.
if !globs.is_empty() {
let walker = globwalk::GlobWalkerBuilder::from_patterns(directory, &globs)
.follow_links(true)
.file_type(globwalk::FileType::FILE | globwalk::FileType::SYMLINK)
.build()?;
for entry in walker {