6 lines
94 B
Python
6 lines
94 B
Python
import os
|
|
|
|
|
|
def detect_git_repo(path: str) -> bool:
|
|
return os.path.exists(f"{path}/.git")
|