ui/client/features/clone/controllers/CloneController
Cockpit client (features), next. Source: ui/client/features/clone/controllers/CloneController.tsx.
Functions#
CloneController()#
CloneController(
__namedParameters):Element
Defined in: ui/client/features/clone/controllers/CloneController.tsx:19
The "Clone a repository" form, with the recent clones of this browser. onCloned receives the absolute folder
of a finished clone (and of a recent one that is opened); the caller (the Open-a-project screen) opens it.
: when the server has a GitHub connection set up, a private repository can use the person's GitHub login
(the default once connected, with a picker of their repositories) instead of the pasted token.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
onCloned |
(dir: string) => void |
Yes | — | |
workspaceRoot |
`string | null` | No | null |
Returns#
Element