Skip to content

Commit 28b453d

Browse files
committed
missing Path in is_file_hidden
1 parent 8cad96b commit 28b453d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_core/paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def is_file_hidden_win(abs_path: str | Path, stat_res: Optional[Any] = None) ->
479479
return False
480480

481481

482-
def is_file_hidden_posix(abs_path: str, stat_res: Optional[Any] = None) -> bool:
482+
def is_file_hidden_posix(abs_path: str | Path, stat_res: Optional[Any] = None) -> bool:
483483
"""Is a file hidden?
484484
485485
This only checks the file itself; it should be called in combination with

0 commit comments

Comments
 (0)