Skip to content

Commit

Permalink
Update securetar/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Agner <[email protected]>
  • Loading branch information
emontnemery and agners authored Jan 14, 2025
1 parent 6db9200 commit 198af66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions securetar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ def atomic_contents_add(
) -> None:
"""Append directories and/or files to the TarFile if file_filter returns False.
:param file_filter: A filter function, should return False if the item should
be excluded from the archived. The function should take a single argument, a
:param file_filter: A filter function, should return True if the item should
be excluded from the archive. The function should take a single argument, a
pathlib.PurePath object representing the relative path of the item to be archived.
"""

Expand Down

0 comments on commit 198af66

Please sign in to comment.