Tuckr icon indicating copy to clipboard operation
Tuckr copied to clipboard

Fix dotfiles/Configs traversal

Open RaphGL opened this issue 1 year ago • 0 comments

The DotfileGroup::map is a function that applies another function to every file in a group's directory. But certain directories are special and need to avoid being symlinked, Right now tuckr only is aware of XDG dirs therefore it's faulty on windows and macos, it won't be able to validate symlinks in directories such as AppData/Roaming.

The solution is to either get all directories from the dirs library and try to match to it somehow (a bit more involved) or use WalkDir and symlink every single file and directory of a certain group.

This issue can be fixed by adding shallow symlinking

RaphGL avatar Mar 27 '23 17:03 RaphGL