7 lines
119 B
Python
7 lines
119 B
Python
|
from pathlib import Path, PosixPath
|
||
|
|
||
|
|
||
|
def _is_path(file_path):
|
||
|
return isinstance(file_path, (str, PosixPath))
|
||
|
|