git_root_dir

cosmo_utils.utils.work_paths.git_root_dir(path='./')[source] [edit on github]

Determines the path to the main .git folder of the project.

Taken from:
Parameters:

path : str, optional

Path to the file within the git repository