Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Nov 7, 2024

  • Tests written, or not not needed

How to Test?

The sync folder action should sync all files within the selected folder, not just those one level below.

Signed-off-by: alperozturk <[email protected]>
@alperozturk96 alperozturk96 force-pushed the bugfix/sync-nested-folders branch from aa1537f to aebd7bb Compare November 11, 2024 12:02
Copy link

Codacy

Lint

TypemasterPR
Warnings5959
Errors33

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness6262
Dodgy code297297
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness66
Performance5353
Security1818
Total510510

Copy link


private void prepareOpsFromLocalKnowledge() throws OperationCancelledException {
List<OCFile> children = getStorageManager().getFolderContent(mLocalFolder, false);
List<OCFile> children = getStorageManager().getAllFilesRecursivelyInsideFolder(mLocalFolder);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to have nested folder sync, we should start with SynchronizeFolderOperation on folders, but not only on files.

Copy link
Member

@tobiasKaminsky tobiasKaminsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SynchronizeFolderOperation needs to be used.

@alperozturk96
Copy link
Collaborator Author

Duplication of #14166

@pretubedongit
Copy link

Why is this closed? It's not a duplication of #14166. This is about nested folder or level 1 files only. It's still present in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants