Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Arch] Remove file/folder operation #2864

Closed
16 of 20 tasks
abelgardep opened this issue Apr 24, 2020 · 0 comments · Fixed by #3214
Closed
16 of 20 tasks

[New Arch] Remove file/folder operation #2864

abelgardep opened this issue Apr 24, 2020 · 0 comments · Fixed by #3214

Comments

@abelgardep
Copy link
Contributor

abelgardep commented Apr 24, 2020

Synchronization epic: #2818

AC:

  • Support removing the content in local (if downloaded), remote or both

TASKS

  • Research (if needed)
  • Create branch new_sync/remove_file
  • Development tasks
    • Create new usecase -> RemoveFileUseCase
    • Add removeFile to repository
    • Implement removeFile
    • Add removeFile to RemoteDataSource (Call CheckRemotePath before RemoveRemoteFileOperation to check if folder already exists?)
    • Migrate RemoveRemoteFileOperation to kotlin
    • Migrate RemoveRemoteChunksFolderOperation to kotlin
    • Add removeFile to current FileService
    • Create a new ChunkService to handle everything related to chunks
    • Remove local file
    • Remove file from database
    • Update DocumentsProvider
    • Error handling
    • Unit tests
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch new_sync/remove_file into new_arch/sync

PR

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

Successfully merging a pull request may close this issue.

2 participants