From 3a09335e635015de18be8c06264ff5130f1ac71f Mon Sep 17 00:00:00 2001 From: "Arav K." Date: Thu, 27 Jun 2024 15:06:42 +0200 Subject: [PATCH] [beets.util.hidden] Note TODO for dropping 'bytes' inputs --- beets/util/hidden.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beets/util/hidden.py b/beets/util/hidden.py index 415506be5..e7213f07e 100644 --- a/beets/util/hidden.py +++ b/beets/util/hidden.py @@ -32,6 +32,7 @@ def is_hidden(path: Union[bytes, Path]) -> bool: path = Path(os.fsdecode(path)) # TODO: Avoid doing a platform check on every invocation of the function. + # TODO: Stop supporting 'bytes' inputs once 'pathlib' is fully integrated. if sys.platform == "win32": # On Windows, we check for an FS-provided attribute.