```path.Base()``` is for slash-separated paths, whereas Windows uses "\" to separate paths. Just convert the \ to / and it works. |
||
---|---|---|
.. | ||
syncthing | ||
.gitignore |
```path.Base()``` is for slash-separated paths, whereas Windows uses "\" to separate paths. Just convert the \ to / and it works. |
||
---|---|---|
.. | ||
syncthing | ||
.gitignore |