MCPcopy Create free account
hub / github.com/jetkvm/kvm / UIObjAddState

Method UIObjAddState

internal/native/grpc_clientmethods.go:127–133  ·  view source on GitHub ↗
(objName string, state string)

Source from the content-addressed store, hash-verified

125}
126
127func (c *GRPCClient) UIObjAddState(objName string, state string) (bool, error) {
128 resp, err := c.client.UIObjAddState(context.Background(), &pb.UIObjAddStateRequest{ObjName: objName, State: state})
129 if err != nil {
130 return false, err
131 }
132 return resp.Success, nil
133}
134
135func (c *GRPCClient) UIObjClearState(objName string, state string) (bool, error) {
136 resp, err := c.client.UIObjClearState(context.Background(), &pb.UIObjClearStateRequest{ObjName: objName, State: state})

Callers

nothing calls this directly

Calls 1

UIObjAddStateMethod · 0.65

Tested by

no test coverage detected