MCPcopy Index your code
hub / github.com/git/git / credential_set_capability

Function credential_set_capability

credential.c:54–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static void credential_set_capability(struct credential_capability *capa,
55 enum credential_op_type op_type)
56{
57 switch (op_type) {
58 case CREDENTIAL_OP_INITIAL:
59 capa->request_initial = 1;
60 break;
61 case CREDENTIAL_OP_HELPER:
62 capa->request_helper = 1;
63 break;
64 case CREDENTIAL_OP_RESPONSE:
65 capa->response = 1;
66 break;
67 }
68}
69
70
71void credential_set_all_capabilities(struct credential *c,

Callers 2

credential_readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected