From 198af66c3512bf666d60584c3847588ee7442df3 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 14 Jan 2025 11:10:33 +0100 Subject: [PATCH] Update securetar/__init__.py Co-authored-by: Stefan Agner --- securetar/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/securetar/__init__.py b/securetar/__init__.py index 23ea8b0..04d7d05 100644 --- a/securetar/__init__.py +++ b/securetar/__init__.py @@ -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. """