mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Follow links when cache-key is a glob
This commit is contained in:
parent
395039afd1
commit
e5e8fac828
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue