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

Function unregister_dir

scalar.c:306–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306static int unregister_dir(void)
307{
308 int res = 0;
309
310 if (toggle_maintenance(0))
311 res = error(_("could not turn off maintenance"));
312
313 if (add_or_remove_enlistment(0))
314 res = error(_("could not remove enlistment"));
315
316 return res;
317}
318
319/* printf-style interface, expects `<key>=<value>` argument */
320__attribute__((format (printf, 1, 2)))

Callers 2

delete_enlistmentFunction · 0.85
cmd_unregisterFunction · 0.85

Calls 3

toggle_maintenanceFunction · 0.85
errorFunction · 0.85
add_or_remove_enlistmentFunction · 0.85

Tested by

no test coverage detected