avoid syncing broken symlink

This commit is contained in:
Jumpei Anzai 2016-08-22 11:45:24 +09:00
parent c91decaa16
commit 9209a649d7

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;