This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mariozechner/pi-coding-agent/dist/utils/git.js
T

6 lines
287 B
JavaScript

const GIT_HOSTS = ["github.com", "gitlab.com", "bitbucket.org", "codeberg.org"];
export function looksLikeGitUrl(source) {
const normalized = source.replace(/^https?:\/\//, "");
return GIT_HOSTS.some((host) => normalized.startsWith(`${host}/`));
}
//# sourceMappingURL=git.js.map