Reading Ignoring Files — Syncthing v1 documentation, I noticed it doesn’t have an example of a rooted pattern. In a
.gitignore, the pattern
is relative, and will match any file, directory or symlink with that name, at any directory level. The pattern
will match any file, directory, or symlink in the current directory only. And the pattern
will only match a directory in the current directory.
If someone can explain how Syncthing would handle these examples, I will craft a PR to update the docs. For example, is
Documents rooted, and to make relative, you need to use