MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / renameCB

Method renameCB

pager_lib/smb/base.py:1637–1642  ·  view source on GitHub ↗
(rename_message, **kwargs)

Source from the content-addressed store, hash-verified

1635 self._pushToArray(messages_history, m)
1636
1637 def renameCB(rename_message, **kwargs):
1638 self._pushToArray(messages_history, rename_message)
1639 if rename_message.status == 0:
1640 closeFid(kwargs['tid'], kwargs['fid'], status = 0)
1641 else:
1642 closeFid(kwargs['tid'], kwargs['fid'], status = rename_message.status)
1643
1644 def closeFid(tid, fid, status = None):
1645 m = SMB2Message(SMB2CloseRequest(fid))

Callers

nothing calls this directly

Calls 3

_pushToArrayMethod · 0.95
OperationFailureClass · 0.85
callbackFunction · 0.50

Tested by

no test coverage detected