Closed samuel-phan closed 10 months ago
Deep symlink copy will fail in this situation:
test ├── data │ ├── case00 │ │ └── README.md │ ├── case01 │ │ └── README.md │ ├── case02 │ │ └── README.md │ ├── case03 │ │ ├── README.md │ │ ├── case01 -> test/data/case01 │ │ └── relative_case01 -> ../case01
Though it's entirely acceptable to have a symlink working only at a certain current working dir, most of the time, we have symlinks:
../something
changing from os.Readlink to filepath.EvalSymlinks worked in my local.
Deep symlink copy will fail in this situation:
Though it's entirely acceptable to have a symlink working only at a certain current working dir, most of the time, we have symlinks:
../something
). 🐛 This case doesn't work properly.