mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 08:25:23 +01:00
Clarify TODOs in is_hidden docstring
This commit is contained in:
parent
b2335b984d
commit
c6efc8c3e9
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ from pathlib import Path
|
|||
def is_hidden(path: bytes | Path) -> bool:
|
||||
"""
|
||||
Determine whether the given path is treated as a 'hidden file' by the OS.
|
||||
|
||||
Note: A platform-specific check is performed on each invocation. Bytes
|
||||
inputs are supported for backward compatibility.
|
||||
"""
|
||||
|
||||
if isinstance(path, bytes):
|
||||
|
|
|
|||
Loading…
Reference in a new issue