Design a recycling bin system #2782
Replies: 9 comments 3 replies
-
If the user swaps sd cards the files should stay in the sd card otherwise it might create a weird situation where the files are on the phone, but the sd card is not connected. |
Beta Was this translation helpful? Give feedback.
-
@EmmanuelMess Remind me again why we need metadata file. |
Beta Was this translation helpful? Give feedback.
-
Some metadata gets modified on move afaik (like timestamps), and the need to save the restoration location. |
Beta Was this translation helpful? Give feedback.
-
@EmmanuelMess Right correct - for restoration location. How about actually preserving last modified for move operation? |
Beta Was this translation helpful? Give feedback.
-
The operation |
Beta Was this translation helpful? Give feedback.
-
@EmmanuelMess Yes. That's why I mentioned we should preserve created and modified date with move operation to begin with. I'm not sure what other timestamps you are referring to. |
Beta Was this translation helpful? Give feedback.
-
Ah, I misunderstood then. Anyways, a test for the entire metadata should be written, so that we know nothing failed weirdly.
That is a good idea |
Beta Was this translation helpful? Give feedback.
-
@VishalNehra @EmmanuelMess @TranceLove @shuvashish76 Please give your thoughts on these |
Beta Was this translation helpful? Give feedback.
-
Library is up : https://github.com/TeamAmaze/AmazeTrashBin |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Beta Was this translation helpful? Give feedback.
All reactions