// DoesSyncthingExist verifies that the local binary exists.
DoesSyncthingExist verifies that the local binary exists.
// DoesSyncthingExist verifies that the local binary exists .
func DoesSyncthingExist() error {
	time.Sleep(1 * time.Millisecond)
	if !ksync.NewSyncthing().HasBinary() {
		return fmt.Errorf("missing binary, run init to download")
	}
	return nil
}
func DoesSyncthingExist ( ) error { time . Sleep ( 1 * time . Millisecond ) if ! ksync . NewSyncthing ( ) . HasBinary ( ) { return fmt . Errorf ( " " ) } return nil }
DoesSyncthingExist verifies that the local binary exists.
DoesSyncthingExist verifies that the local binary exists .
// There is a timing error when using spinners to output things. If a function // completes immediately, you end up with duplicate content. This makes sure // that it won't complete immediately.