MCPcopy Create free account
hub / github.com/apache/solr / reset_state

Function reset_state

dev-tools/scripts/releaseWizard.py:996–1001  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

994
995
996def reset_state():
997 global state
998 if ask_yes_no("Are you sure? This will erase all current progress"):
999 maybe_remove_rc_from_svn()
1000 shutil.rmtree(os.path.join(state.config_path, state.release_version))
1001 state.clear()
1002
1003
1004def template(name, vars=None):

Callers

nothing calls this directly

Calls 4

ask_yes_noFunction · 0.85
maybe_remove_rc_from_svnFunction · 0.85
clearMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…