INNER CODE UNIT · Python

repo

teaql/teaql-agent-kit · tools/teaql_workspace.py:60

            repo = (config_path.parent / path_value).resolve()
            if not repo.is_dir():
                errors.append(f"{language}: runtime path does not exist: {repo}")
                continue
            commit = git_value(repo, "rev-parse", "HEAD")
            if commit is None:
                errors.append(f"{language}: runtime path is not a Git repository: {repo}")
                continue
            status = git_value(repo, "status", "--porcelain")
            rows[language] = {
                "source": "workspace",
                "declaredVersion": version,
                "resolvedPath": str(repo),
                "commit": commit,
                "dirty": bool(status),
            }
        else:
            if path_value:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…