ui/client/features/clone/controllers/CloneController
Cockpit client (features), v0.8. Source: ui/client/features/clone/controllers/CloneController.tsx.
Functions#
CloneController()#
CloneController(
__namedParameters):Element
Defined in: ui/client/features/clone/controllers/CloneController.tsx:13
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.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
onCloned |
(dir: string) => void |
Yes | — | |
workspaceRoot |
`string | null` | No | null |
Returns#
Element