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

Method _storeFile_SMB2

pager_lib/smb/base.py:1049–1050  ·  view source on GitHub ↗
(self, service_name, path, file_obj, callback, errback, timeout = 30)

Source from the content-addressed store, hash-verified

1047 sendCreate(self.connected_trees[service_name])
1048
1049 def _storeFile_SMB2(self, service_name, path, file_obj, callback, errback, timeout = 30):
1050 self._storeFileFromOffset_SMB2(service_name, path, file_obj, callback, errback, 0, True, timeout)
1051
1052 def _storeFileFromOffset_SMB2(self, service_name, path, file_obj, callback, errback, starting_offset, truncate = False, timeout = 30, show_progress = False, tqdm_kwargs = { }):
1053 if not self.has_authenticated:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected