|
46 | 46 |
|
47 | 47 |
|
48 | 48 |
|
49 |
| - <title>ImplicitMount — PyRemoteData 0.0.40 documentation</title> |
| 49 | + <title>ImplicitMount — PyRemoteData 0.0.41 documentation</title> |
50 | 50 | <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=75810a84" />
|
51 | 51 | <link rel="stylesheet" type="text/css" href="_static/material.css?v=79c92029" />
|
52 | 52 | <link rel="stylesheet" type="text/css" href="_static/custom.css?v=fb6b2637" />
|
53 |
| - <script src="_static/documentation_options.js?v=84bd753f"></script> |
| 53 | + <script src="_static/documentation_options.js?v=20c5f126"></script> |
54 | 54 | <script src="_static/doctools.js?v=9bcbadda"></script>
|
55 | 55 | <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
56 | 56 | <link rel="canonical" href="_build/html/ImplicitMount.html" />
|
|
81 | 81 | <nav class="md-header-nav md-grid">
|
82 | 82 | <div class="md-flex navheader">
|
83 | 83 | <div class="md-flex__cell md-flex__cell--shrink">
|
84 |
| - <a href="index.html" title="PyRemoteData 0.0.40 documentation" |
| 84 | + <a href="index.html" title="PyRemoteData 0.0.41 documentation" |
85 | 85 | class="md-header-nav__button md-logo">
|
86 | 86 |
|
87 | 87 |
|
|
167 | 167 | <nav class="md-tabs" data-md-component="tabs">
|
168 | 168 | <div class="md-tabs__inner md-grid">
|
169 | 169 | <ul class="md-tabs__list">
|
170 |
| - <li class="md-tabs__item"><a href="index.html" class="md-tabs__link">PyRemoteData 0.0.40 documentation</a></li> |
| 170 | + <li class="md-tabs__item"><a href="index.html" class="md-tabs__link">PyRemoteData 0.0.41 documentation</a></li> |
171 | 171 | <li class="md-tabs__item"><a href="implicit_mount.html" class="md-tabs__link">SFTP Backend</a></li>
|
172 | 172 | </ul>
|
173 | 173 | </div>
|
|
180 | 180 | <div class="md-sidebar__inner">
|
181 | 181 | <nav class="md-nav md-nav--primary" data-md-level="0">
|
182 | 182 | <label class="md-nav__title md-nav__title--site" for="__drawer">
|
183 |
| - <a href="index.html" title="PyRemoteData 0.0.40 documentation" class="md-nav__button md-logo"> |
| 183 | + <a href="index.html" title="PyRemoteData 0.0.41 documentation" class="md-nav__button md-logo"> |
184 | 184 |
|
185 | 185 | <img src="_static/" alt=" logo" width="48" height="48">
|
186 | 186 |
|
187 | 187 | </a>
|
188 | 188 | <a href="index.html"
|
189 |
| - title="PyRemoteData 0.0.40 documentation">PyRemoteData</a> |
| 189 | + title="PyRemoteData 0.0.41 documentation">PyRemoteData</a> |
190 | 190 | </label>
|
191 | 191 | <div class="md-nav__source">
|
192 | 192 | <a href="https://github.com/asgersvenning/pyremotedata" title="Go to repository" class="md-source" data-md-source="github">
|
@@ -321,14 +321,16 @@ <h1 id="implicitmount--page-root">ImplicitMount<a class="headerlink" href="#impl
|
321 | 321 | </dd></dl>
|
322 | 322 | <dl class="py method">
|
323 | 323 | <dt class="sig sig-object py">
|
324 |
| -<span class="sig-name descname"><span class="pre">ls</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">'.'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">recursive</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">use_cache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.List" title="(in Python v3.13)"><span class="pre">List</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="reference internal" href="_modules/pyremotedata/implicit_mount.html#ImplicitMount.ls"><span class="viewcode-link"><span class="pre">[source]</span></span></a></dt> |
| 324 | +<span class="sig-name descname"><span class="pre">ls</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">'.'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">recursive</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">use_cache</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pbar</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">0</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">top</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.List" title="(in Python v3.13)"><span class="pre">List</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span class="pre">]</span></span></span></span><a class="reference internal" href="_modules/pyremotedata/implicit_mount.html#ImplicitMount.ls"><span class="viewcode-link"><span class="pre">[source]</span></span></a></dt> |
325 | 325 | <dd><p>Find all files in the given remote directory using the LFTP command <cite>cls</cite>. Can be used recursively, even though LFTP does not support recursive listing with the <cite>cls</cite> command.</p>
|
326 | 326 | <dl class="field-list simple">
|
327 | 327 | <dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
328 | 328 | <dd class="field-odd"><ul class="simple">
|
329 | 329 | <li><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The remote directory to search in.</p></li>
|
330 | 330 | <li><p><strong>recursive</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If True, the function will search recursively.</p></li>
|
331 | 331 | <li><p><strong>use_cache</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If True, the function will use <cite>cls</cite>, otherwise it will use <cite>recls</cite>. <cite>recls</cite> forces a refresh of the cache.</p></li>
|
| 332 | +<li><p><strong>pbar</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – If 1, prints something to show that the process is not dead, only relevant if recursive is True. Defaults to 0.</p></li> |
| 333 | +<li><p><strong>top</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – DO NOT USE! Flag to indicate whether the recursion is at the top level.</p></li> |
332 | 334 | </ul>
|
333 | 335 | </dd>
|
334 | 336 | <dt class="field-even">Returns<span class="colon">:</span></dt>
|
|
0 commit comments