[beets.util.hidden] Note TODO for dropping 'bytes' inputs

This commit is contained in:
Arav K. 2024-06-27 15:06:42 +02:00
parent b51f4cbd91
commit 3a09335e63

View file

@ -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.