You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cleanup change merges connection and cmdClient, since
both represent the client-side state of a single connection.
Details:
- client holds the server (and its initialize result)
- client.initialize is the operation that ties
the client and server together. We can use it to
simplify capabilities_test.go.
- protocol.Server is no longer embedded
- filesMu locking pushed down into client.getFile
- more doc comments
- the server helpers diagnosefiles, executeCommand
are no longer methods.
(The improvement is positive but rather marginal; this
change grew out of a question about the role and cardinality
of conn, cmdClient and server.)
Change-Id: I9a16a4b8281e61d2cdf116f2b9570fa3a8f5b1f5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/681155
Reviewed-by: Robert Findley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
0 commit comments