"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/libsync/discoveryphase.cpp" between
ownCloud-2.7.5.3180.tar.xz and ownCloud-2.7.6.3261.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

discoveryphase.cpp  (ownCloud-2.7.5.3180.tar.xz):discoveryphase.cpp  (ownCloud-2.7.6.3261.tar.xz)
skipping to change at line 457 skipping to change at line 457
if (result.isDirectory) if (result.isDirectory)
result.size = 0; result.size = 0;
if (_isExternalStorage && result.remotePerm.hasPermission(RemotePermissi ons::IsMounted)) { if (_isExternalStorage && result.remotePerm.hasPermission(RemotePermissi ons::IsMounted)) {
/* All the entries in a external storage have 'M' in their permissio n. However, for all /* All the entries in a external storage have 'M' in their permissio n. However, for all
purposes in the desktop client, we only need to know about the mo unt points. purposes in the desktop client, we only need to know about the mo unt points.
So replace the 'M' by a 'm' for every sub entries in an external storage */ So replace the 'M' by a 'm' for every sub entries in an external storage */
result.remotePerm.unsetPermission(RemotePermissions::IsMounted); result.remotePerm.unsetPermission(RemotePermissions::IsMounted);
result.remotePerm.setPermission(RemotePermissions::IsMountedSub); result.remotePerm.setPermission(RemotePermissions::IsMountedSub);
} }
QStringRef fileRef(&file);
int slashPos = file.lastIndexOf(QLatin1Char('/'));
if (slashPos > -1) {
fileRef = file.midRef(slashPos + 1);
}
_results.push_back(std::move(result)); _results.push_back(std::move(result));
} }
//This works in concerto with the RequestEtagJob and the Folder object to ch eck if the remote folder changed. //This works in concerto with the RequestEtagJob and the Folder object to ch eck if the remote folder changed.
if (map.contains(QStringLiteral("getetag"))) { if (map.contains(QStringLiteral("getetag"))) {
if (_firstEtag.isEmpty()) { if (_firstEtag.isEmpty()) {
_firstEtag = QString::fromUtf8(parseEtag(map.value(QStringLiteral("g etetag")).toUtf8())); // for directory itself _firstEtag = QString::fromUtf8(parseEtag(map.value(QStringLiteral("g etetag")).toUtf8())); // for directory itself
} }
} }
} }
 End of changes. 1 change blocks. 
6 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)