Files icon indicating copy to clipboard operation
Files copied to clipboard

Code Quality: Introduced StorageArchiveService

Open 0x5bfa opened this issue 1 year ago • 0 comments

Summary

I'd like to provide single and simple way of compression and decompression. In this effort, I'd also like to use ILocatableStorable to identify compression folder or decompression destination instead of string path in the future.

As a sidenote, I removed all null-ref warnings in modified classes (#9895).

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

  • Related #14572

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. ✅ Open Files app
  2. ✅ Do Extract files
  3. ✅ Do Extract here (smart)
  4. ✅ Do Extract her
  5. ✅ Do Extract to 'folder name'
  6. ✅ Do Create archive
  7. ✅ Do Create .zip
  8. ✅ Do Create .7z

Ensured Status Center has an item for each, and decompressed/compressed file/folder name is increaded as Decompressed files (2).

0x5bfa avatar May 09 '24 00:05 0x5bfa