Merge pull request #91 from JunpeiAnzai/avoid_broken_symlink

Avoid syncing broken symbolic links
This commit is contained in:
skilion 2016-08-31 22:03:52 +02:00 committed by GitHub
commit eb8d0fe039

View file

@ -439,6 +439,9 @@ final class SyncEngine
private void uploadNewItems(string path)
{
if (isSymlink(path) && !exists(readLink(path))) {
return;
}
if (isDir(path)) {
if (path.matchFirst(skipDir).empty) {
Item item;