MCPcopy Create free account
hub / github.com/F-Stack/f-stack / copy_to

Method copy_to

dpdk/dts/framework/remote_session/os_session.py:157–170  ·  view source on GitHub ↗

Copy a file from local filesystem to the remote Node. Copy source_file from local filesystem to destination_file on the remote Node associated with this remote session. Args: source_file: the file on the local filesystem. destination_file: a file or

(
        self,
        source_file: str | PurePath,
        destination_file: str | PurePath,
    )

Source from the content-addressed store, hash-verified

155
156 @abstractmethod
157 def copy_to(
158 self,
159 source_file: str | PurePath,
160 destination_file: str | PurePath,
161 ) -> None:
162 """Copy a file from local filesystem to the remote Node.
163
164 Copy source_file from local filesystem to destination_file
165 on the remote Node associated with this remote session.
166
167 Args:
168 source_file: the file on the local filesystem.
169 destination_file: a file or directory path on the remote Node.
170 """
171
172 @abstractmethod
173 def remove_remote_dir(

Callers 1

_copy_dpdk_tarballMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected