Move the contents to the struct docs. Helps: #3037
The canonical directory separator is a backslash, but some Windows APIs allow either, interchangeably. Do the same here. Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/2914 Signed-off-by: Simon McVittie <smcv@collabora.com>
The returned path is built on demand.
GPathBuf is a path buffer type that can be used to build paths programmatically, using it as a stack.