-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[FEATURE REQUEST] Folder with "Local only" remove option #3936
Comments
is this task done or has been fixed yet? should I move forward with this ? |
@RohanTemgire go ahead! it's asigned no one. |
Hi, @jesmrec I would like to take this. I want to ask a question as well (hoping it's not assigned to anyone) --> First of all I believe by
I'm also wondering about the case when folder inside a folder has some local files. Following above approach would need us to iterate through sub-directories. Before going in not sure how resource intensive the task would be in a case like this if the tree of directories is very deep. But do let me know if we also want to handle this case same way as above or if you have some other approach |
Hi @parneet-guraya! Thanks for your engagement 🍻. I'll try to answer your questions:
You're totally right 🙂
Yes, I think we can use the same algorithm to iterate through subdirectories, maybe some kind of recursivity. As we know, recursivity is not the best solution and not the most efficient, but in this case it makes sense. However, I'd say this won't be very resource-demanding since we'll just need to check if files are available locally by checking whether |
Steps to reproduce
Select any folder, no matter if empty or not, no matter if content is downloaded or not.
Actual behaviour
Option
Local only
availableExpected behaviour
Option
Local only
only available if folder does contain downloaded files.This is not a bad behaviour (nothing is broken) but let users decide with less options, avoiding one meaningless option.
oc-android_3.0.3
The text was updated successfully, but these errors were encountered: