-
Notifications
You must be signed in to change notification settings - Fork 504
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
stignore path seperator on windows #738
Comments
Additional digging in source code should give some exact answers. |
I'm not sure if this is a question or a request of some sort? On Windows, often in general and in Syncthing in particular, both slash and backslash are valid path separators. |
More like a todo, that |
I'd assert that not everyone knows what a "directory separator" is, so on "users/ignoring.html", just before it mentions "directory separator" might be a good place to put in a sentence or two saying that / is the "directory separator", and that it works on Windows the same as other OSs. Maybe add that the usual Windows separator \ works too, but only on Windows (if that is the case)? The example of .stignore on that page has wildcards and shows how they affect files that happen to be in subdirectories. It might be helpful to include (more) fully qualified paths (if they work) instead of relying only on wildcards? So, maybe
if it does in fact ignore files in a logs subdirectory just below the current root? Or if wildcards are in fact the only way to affect files in subdirectories, maybe include a few more examples of how one might do that without accidentally ignoring files in the root or other subdirectories. |
https://docs.syncthing.net/users/ignoring.html
I did some testing, essentially on windows
alias "\"="/"
, mixing both acts as if you used/
on *nixThe text was updated successfully, but these errors were encountered: