MCPcopy Create free account
hub / github.com/PyTables/PyTables / _g_remove_and_log

Method _g_remove_and_log

tables/node.py:546–551  ·  view source on GitHub ↗
(self, recursive: bool, force: bool)

Source from the content-addressed store, hash-verified

544 self._g_remove(recursive, force)
545
546 def _g_remove_and_log(self, recursive: bool, force: bool) -> None:
547 file_ = self._v_file
548 oldpathname = self._v_pathname
549 # Log *before* moving to use the right shadow name.
550 file_._log("REMOVE", oldpathname)
551 move_to_shadow(file_, oldpathname)
552
553 def _g_move(self, newparent: Group, newname: str) -> None:
554 """Move this node in the hierarchy.

Callers 1

_f_removeMethod · 0.95

Calls 2

move_to_shadowFunction · 0.85
_logMethod · 0.80

Tested by

no test coverage detected