diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-10 15:09:46 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-12 00:14:08 -0700 |
| commit | a966eee090d55c7d61484333af675c80115bf188 (patch) | |
| tree | 9df97f8551ce59a4f163d4bd23b145c5bcb44858 /lib/std/Build/Step/CheckFile.zig | |
| parent | f2856403c6997ff1317c968abed0871df9586c7c (diff) | |
| download | zig-a966eee090d55c7d61484333af675c80115bf188.tar.gz zig-a966eee090d55c7d61484333af675c80115bf188.zip | |
std.Build.Step.WriteFile: fix handling of directories
and add file system watching integration.
`addDirectoryWatchInput` now returns a `bool` which helps remind the
caller to
1. call addDirectoryWatchInputFromPath on any derived paths
2. but only if the dependency is not already captured by a step
dependency edge.
The make function now recursively walks all directories and adds the
found files to the cache hash rather than incorrectly only adding the
directory name to the cache hash.
closes #20571
Diffstat (limited to 'lib/std/Build/Step/CheckFile.zig')
0 files changed, 0 insertions, 0 deletions
