MCPcopy Create free account
hub / github.com/git/git / write_state_text

Function write_state_text

builtin/am.c:233–237  ·  view source on GitHub ↗

* For convenience to call write_file() */

Source from the content-addressed store, hash-verified

231 * For convenience to call write_file()
232 */
233static void write_state_text(const struct am_state *state,
234 const char *name, const char *string)
235{
236 write_file(am_path(state, name), "%s", string);
237}
238
239static void write_state_count(const struct am_state *state,
240 const char *name, int value)

Callers 5

write_state_boolFunction · 0.85
write_author_scriptFunction · 0.85
am_setupFunction · 0.85
am_nextFunction · 0.85
parse_mail_rebaseFunction · 0.85

Calls 2

write_fileFunction · 0.85
am_pathFunction · 0.85

Tested by

no test coverage detected