mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Merge branch 'master' into implement-hash-streaming
This commit is contained in:
commit
2a0fefafff
1 changed files with 12 additions and 3 deletions
15
src/sync.d
15
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,7 +7773,7 @@ class SyncEngine {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// A short lived item that has already disappeared will cause an error - is the path still valid?
|
||||
if (!exists(path)) {
|
||||
addLogEntry("Skipping path - path has disappeared: " ~ path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue