This is a rather big restructure, but I am testing this now for quite some time. It should fix several issues and catch certain edge cases (e.g. copy a directory to a folder where a file with the same name already exists). In a future step it probably makes sense to extract those "file actions" into its own file, but that is the task for another refactor
lstat
to better handle linksvim.fn.inputlist
This is a rather big restructure, but I am testing this now for quite some time. It should fix several issues and catch certain edge cases (e.g. copy a directory to a folder where a file with the same name already exists). In a future step it probably makes sense to extract those "file actions" into its own file, but that is the task for another refactor