mirror of
https://github.com/beetbox/beets.git
synced 2026-02-28 10:15:23 +01:00
[beets.util.hidden] Note TODO for dropping 'bytes' inputs
This commit is contained in:
parent
b51f4cbd91
commit
3a09335e63
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue