@@ -27,9 +27,9 @@ def copy_files(self, files: List[str], remote_path: "_SPATH",
2727 ----------
2828 files: List[str]
2929 list of files to upload/download
30- remote_path: " _SPATH"
30+ remote_path: :const:`ssh_utilities.typeshed. _SPATH`
3131 path to remote directory with files
32- local_path: " _SPATH"
32+ local_path: :const:`ssh_utilities.typeshed. _SPATH`
3333 path to local directory with files
3434 direction: str
3535 get for download and put for upload
@@ -48,15 +48,15 @@ def copyfile(self, src: "_SPATH", dst: "_SPATH", *,
4848
4949 Parameters
5050 ----------
51- src: " _SPATH"
51+ src: :const:`ssh_utilities.typeshed. _SPATH`
5252 path to the file
53- dst: " _SPATH"
53+ dst: :const:`ssh_utilities.typeshed. _SPATH`
5454 path to copy into
55- direction: str
55+ direction: :const:`ssh_utilities.typeshed._DIRECTION`
5656 'get' for download and 'put' for upload
5757 follow_symlinks: bool
5858 resolve symlinks when looking for file, by default True
59- callback: Callable[[float, float], Any]
59+ callback: :const:`ssh_utilities.typeshed._CALLBACK`
6060 callback function that recives two arguments: amount done and total
6161 amount to be copied
6262 quiet: bool
@@ -81,15 +81,15 @@ def copy(self, src: "_SPATH", dst: "_SPATH", *, direction: "_DIRECTION",
8181
8282 Parameters
8383 ----------
84- src: " _SPATH"
84+ src: :const:`ssh_utilities.typeshed. _SPATH`
8585 path to the file
86- dst: " _SPATH"
86+ dst: :const:`ssh_utilities.typeshed. _SPATH`
8787 path to copy into
88- direction: str
88+ direction: :const:`ssh_utilities.typeshed._DIRECTION`
8989 'get' for download and 'put' for upload
9090 follow_symlinks: bool
9191 resolve symlinks when looking for file, by default True
92- callback: Callable[[float, float], Any]
92+ callback: :const:`ssh_utilities.typeshed._CALLBACK`
9393 callback function that recives two arguments: amount done and total
9494 amount to be copied
9595 quiet: bool
@@ -125,16 +125,16 @@ def download_tree(self, remote_path: "_SPATH", local_path: "_SPATH",
125125
126126 Parameters
127127 ----------
128- remote_path: " _SPATH"
128+ remote_path: :const:`ssh_utilities.typeshed. _SPATH`
129129 path to directory which should be downloaded
130- local_path: " _SPATH"
130+ local_path: :const:`ssh_utilities.typeshed. _SPATH`
131131 directory to copy to, must be full path!
132132 remove_after: bool
133133 remove remote copy after directory is uploaded
134- include: _GLOBPAT
134+ include: :const:`ssh_utilities.typeshed. _GLOBPAT`
135135 glob pattern of files to include in copy, can be used
136136 simultaneously with exclude, default is None = no filtering
137- exclude: _GLOBPAT
137+ exclude: :const:`ssh_utilities.typeshed. _GLOBPAT`
138138 glob pattern of files to exclude in copy, can be used
139139 simultaneously with include, default is None = no filtering
140140 quiet: Literal[True, False, "stats", "progress"]
@@ -164,16 +164,16 @@ def upload_tree(self, local_path: "_SPATH", remote_path: "_SPATH",
164164
165165 Parameters
166166 ----------
167- local_path: " _SPATH"
167+ local_path: :const:`ssh_utilities.typeshed. _SPATH`
168168 path to directory which should be uploaded
169- remote_path: " _SPATH"
169+ remote_path: :const:`ssh_utilities.typeshed. _SPATH`
170170 directory to copy to, must be full path!
171171 remove_after: bool
172172 remove local copy after directory is uploaded
173- include: _GLOBPAT
173+ include: :const:`ssh_utilities.typeshed. _GLOBPAT`
174174 glob pattern of files to include in copy, can be used
175175 simultaneously with exclude, default is None = no filtering
176- exclude: _GLOBPAT
176+ exclude: :const:`ssh_utilities.typeshed. _GLOBPAT`
177177 glob pattern of files to exclude in copy, can be used
178178 simultaneously with include, default is None = no filtering
179179 quiet: Literal[True, False, "stats", "progress"]
@@ -200,7 +200,7 @@ def rmtree(self, path: "_SPATH", ignore_errors: bool = False,
200200
201201 Parameters
202202 ----------
203- path: " _SPATH"
203+ path: :const:`ssh_utilities.typeshed. _SPATH`
204204 directory to be recursively removed
205205 ignore_errors: bool
206206 if True only log warnings do not raise exception
0 commit comments