(base_directory)
| 57 | GIT_TOPLEVEL_CMD = 'git rev-parse --show-toplevel'.split(' ') |
| 58 | |
| 59 | def call_git_ls(base_directory): |
| 60 | out = subprocess.check_output([*GIT_LS_CMD, base_directory]) |
| 61 | return [f for f in out.decode("utf-8").split('\n') if f != ''] |
| 62 | |
| 63 | def call_git_toplevel(): |
| 64 | "Returns the absolute path to the project root" |
no test coverage detected