MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / network_install_tor_support

Function network_install_tor_support

Scripts/Settings.py:7031–7038  ·  view source on GitHub ↗
(silent=False)

Source from the content-addressed store, hash-verified

7029 'is_dir': os.path.isdir(target),
7030 }
7031 try:
7032 _save_trash_index(index)
7033 except Exception:
7034 # Keep deletion transactional: if metadata cannot be committed, put the item back.
7035 try:
7036 if os.path.exists(target) and not os.path.exists(path):
7037 shutil.move(target, path)
7038 finally:
7039 raise
7040 return index[item_id]
7041

Callers 1

network_start_torFunction · 0.70

Calls 4

network_tor_binaryFunction · 0.70
network_update_toolsFunction · 0.70
_Function · 0.70

Tested by

no test coverage detected