mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 04:06:35 +02:00
splitLines here is identical to bufio.ScanLines, except that bufio.ScanLines removes \r in addition to \n. Trailing carriage returns shouldn't matter for our uses. Since bufio.ScanLines is the default for a new bufio.Scanner, we can delete the calls to Split too.