The intention was that if no peers are given, we shouldn't start the listener. We did that anyway, because: - splitting an empty string on comma returns a slice with one empty string in it - parsing the empty string as a device ID returns the empty device ID so we end up with a valid replication peer which is the empty device ID. |
||
---|---|---|
.. | ||
etc | ||
scripts | ||
apisrv_test.go | ||
apisrv.go | ||
database_test.go | ||
database.go | ||
database.pb.go | ||
database.proto | ||
main.go | ||
README.md | ||
replication.go | ||
stats.go |
stdiscosrv
This is the global discovery server for the syncthing
project.