obsidian-spaced-repetition
obsidian-spaced-repetition copied to clipboard
[FIX] Folder ignore sorts all folder starting with string
Fixes #969
Implementation of better comparison Implementation of Unit Test
Not sure why the Test Failed for me tried it multiple times no issues with this. Maybe because Test is running on Ubuntu and i am on windows I will check I can Test this on a Virtual machine.
Finally Test succeed
Actually I think we have the same understanding of sub.
Not that it matters too much, but I think we use different terminology in terms of what is "sub". I guess I think of "sub" to encompass less than the original thing, e.g. "subsection".
Where do you mean is this the case?
If I've understood correctly, then I think you have the opposite meaning. That "root" is a subpath of "root/sub/sub2", but encompasses more.
I am not a native speaker so If you say this fits more than I can change it
As an idea, what do you think of "isEqualOrAncestor" instead?