We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db9200 commit 198af66Copy full SHA for 198af66
securetar/__init__.py
@@ -389,8 +389,8 @@ def atomic_contents_add(
389
) -> None:
390
"""Append directories and/or files to the TarFile if file_filter returns False.
391
392
- :param file_filter: A filter function, should return False if the item should
393
- 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
394
pathlib.PurePath object representing the relative path of the item to be archived.
395
"""
396
0 commit comments