Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefactor directory.rs for symlink plumbing #16872

Merged
merged 4 commits into from
Sep 16, 2022

Conversation

thejcannon
Copy link
Member

@thejcannon thejcannon commented Sep 14, 2022

Prefactoring 2 things for the upcoming symlink support:

  • Splitting DigestTrie.files_and_directories into files and directories. The only place we used both was a __repr__, so perf likely isn't key
  • Changing DigestTrie.from_path_stats to use TypedPath (and rename it), which should allow us to introduce a Symlink value to the enum and use it for CreateDigest without plumbing the entirety of symlink support.

[ci skip-build-wheels]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@thejcannon thejcannon added the category:internal CI, fixes for not-yet-released features, etc. label Sep 14, 2022
src/rust/engine/fs/src/directory.rs Outdated Show resolved Hide resolved
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@thejcannon thejcannon merged commit bf13da9 into pantsbuild:main Sep 16, 2022
@thejcannon thejcannon deleted the symlink_prefactor branch September 16, 2022 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants