Private socketClones a repository into the given parent directory.
The repository URL to clone
The parent directory to clone into
Optional branch: stringThe branch to clone (optional)
In milliseconds, how long to wait before timing out
Private withInternal Runs a git op, retrying once with the configured GitHub token as
authkey if the remote reports auth_required (an HTTPS remote with no
credentials). SSH auth is handled server-side, so we only retry this
specific case.
Generated using TypeDoc
Git operations exposed over the Websocket.
These run through the backend's correlated
fs:requestprotocol (see WispSocket.request).Authentication: SSH remotes are authenticated server-side via a deploy key configured in the panel. HTTPS remotes can additionally use the GitHub token (
ghToken) passed to WispInterface — pull and clone automatically retry with it when the remote reportsauth_required.