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

Method _storeFile_SMB1

pager_lib/smb/base.py:2558–2559  ·  view source on GitHub ↗
(self, service_name, path, file_obj, callback, errback, timeout = 30, show_progress = False, tqdm_kwargs = { })

Source from the content-addressed store, hash-verified

2556 sendOpen(self.connected_trees[service_name])
2557
2558 def _storeFile_SMB1(self, service_name, path, file_obj, callback, errback, timeout = 30, show_progress = False, tqdm_kwargs = { }):
2559 self._storeFileFromOffset_SMB1(service_name, path, file_obj, callback, errback, 0, True, timeout, show_progress, tqdm_kwargs)
2560
2561 def _storeFileFromOffset_SMB1(self, service_name, path, file_obj, callback, errback, starting_offset, truncate = False, timeout = 30, show_progress = False, tqdm_kwargs = { }):
2562 if not self.has_authenticated:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected