mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Update sync.d
Update PR
This commit is contained in:
parent
3addfab12a
commit
49642f64d2
1 changed files with 11 additions and 10 deletions
21
src/sync.d
21
src/sync.d
|
|
@ -7718,8 +7718,17 @@ class SyncEngine {
|
|||
logKey = generateAlphanumericString();
|
||||
displayFunctionProcessingStart(thisFunctionName, logKey);
|
||||
}
|
||||
|
||||
// Add a processing '.'
|
||||
|
||||
// Skip symlinks as early as possible, including dangling symlinks
|
||||
if (isSymlink(path)) {
|
||||
// Should this path be skipped?
|
||||
if (appConfig.getValueBool("skip_symlinks")) {
|
||||
if (verboseLogging) {addLogEntry("Skipping item - skip symbolic links configured: " ~ path, ["verbose"]);}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Add a processing '.' if path exists
|
||||
if (exists(path)) {
|
||||
if (isDir(path)) {
|
||||
if (!appConfig.suppressLoggingOutput) {
|
||||
|
|
@ -7764,14 +7773,6 @@ class SyncEngine {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Skip symlinks as early as possible, including dangling symlinks
|
||||
if (isSymlink(path)) {
|
||||
if (appConfig.getValueBool("skip_symlinks")) {
|
||||
addLogEntry("Skipping symbolic link: " ~ path);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// A short lived item that has already disappeared will cause an error - is the path still valid?
|
||||
if (!exists(path)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue