Skip to content

Commit c004c04

Browse files
committed
Change docstring for logrun.internals.eval_checksum
1 parent 12a74dc commit c004c04

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/logrun/internals.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h1 class="title">Module <code>logrun.internals</code></h1>
9494
def eval_checksum(path: str, state: Optional[xxhash.xxh3_64] = None, digest: bool = True) \
9595
-&gt; Optional[str]:
9696
&#34;&#34;&#34;
97-
Evaluates the checksum of a given path (which can be either a file or a directory).
97+
Evaluates the checksum of the contents of a given path (which can be either a file or a directory).
9898
&#34;&#34;&#34;
9999

100100
path = os.path.abspath(os.path.realpath(path))
@@ -399,15 +399,15 @@ <h2 class="section-title" id="header-functions">Functions</h2>
399399
<span>def <span class="ident">eval_checksum</span></span>(<span>path: str, state: Optional[xxhash.xxh3_64] = None, digest: bool = True) ‑> Optional[str]</span>
400400
</code></dt>
401401
<dd>
402-
<div class="desc"><p>Evaluates the checksum of a given path (which can be either a file or a directory).</p></div>
402+
<div class="desc"><p>Evaluates the checksum of the contents of a given path (which can be either a file or a directory).</p></div>
403403
<details class="source">
404404
<summary>
405405
<span>Expand source code</span>
406406
</summary>
407407
<pre><code class="python">def eval_checksum(path: str, state: Optional[xxhash.xxh3_64] = None, digest: bool = True) \
408408
-&gt; Optional[str]:
409409
&#34;&#34;&#34;
410-
Evaluates the checksum of a given path (which can be either a file or a directory).
410+
Evaluates the checksum of the contents of a given path (which can be either a file or a directory).
411411
&#34;&#34;&#34;
412412

413413
path = os.path.abspath(os.path.realpath(path))

logrun/internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def ensure_dir_exists(path: str) -> str:
6565
def eval_checksum(path: str, state: Optional[xxhash.xxh3_64] = None, digest: bool = True) \
6666
-> Optional[str]:
6767
"""
68-
Evaluates the checksum of a given path (which can be either a file or a directory).
68+
Evaluates the checksum of the contents of a given path (which can be either a file or a directory).
6969
"""
7070

7171
path = os.path.abspath(os.path.realpath(path))

0 commit comments

Comments
 (0)