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

Use a FileTree to walk and validate all dotfiles #43

Open
3 of 9 tasks
RaphGL opened this issue Nov 25, 2024 · 0 comments
Open
3 of 9 tasks

Use a FileTree to walk and validate all dotfiles #43

RaphGL opened this issue Nov 25, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@RaphGL
Copy link
Owner

RaphGL commented Nov 25, 2024

This is a custom data structure written specifically to solve issue #31

  • Add and remove items
  • Retrieve all nodes of a groups
  • Remove all nodes of a group
  • Add doc comments on how the functions should be used
  • Allow combinators to be used to apply functions to either symlinked or not symlinked groups all in one iteration, instead of having to walk the data structure over and over again
  • Canonicalize paths (remove unnecessary nodes, mark parent node as not symlinked if at least one child is not symlinked, etc)
  • Consider reusing items marked as None in tree instead of allocating more memory
  • Validate group names with dotfiles::is_valid_groupname
  • Refactor symlinks.rs to use the new data structure
@RaphGL RaphGL added the enhancement New feature or request label Nov 25, 2024
@RaphGL RaphGL added this to the 0.11.0 milestone Nov 25, 2024
Repository owner deleted a comment from redactedontop Jan 14, 2025
Repository owner deleted a comment from redactedontop Jan 14, 2025
Repository owner deleted a comment from redactedontop Jan 14, 2025
@RaphGL RaphGL modified the milestones: 0.11.0, 0.12.0 Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant