deleteDir doesn't support versioning?

While working on my “pullonly” feature, I realized that func (f *rwFolder) deleteDir does not implement versioning. Is that on purpose?

I found one other user complaining about folders not being versioned, but it seems the user gave up and never responded: User’s post

Heiko

deleteDir deletes the folder, not the files inside it (unless they are ignored with the magical flag), before we can delete the directory, syncthing deletes the files, which versions them.

Doh! You are of course correct. I only looked at the function itself, ignoring the fact that we clean up the files first.

Thanks!