ui/client/features/wizard/services/ProjectTree
Cockpit client (features), next. Source: ui/client/features/wizard/services/ProjectTree.tsx.
Type Aliases#
ProjectTreeResult#
ProjectTreeResult =
object&ProjectTree| {error:string;ok:false; }
Defined in: ui/client/features/wizard/services/ProjectTree.tsx:4
Functions#
fetchProjectTree()#
fetchProjectTree(
path):Promise<ProjectTreeResult>
Defined in: ui/client/features/wizard/services/ProjectTree.tsx:8
Real network I/O: one directory of the open project (ui/server's GET /api/project/tree, contained to the
project). Failures come back as { ok: false, error }, never thrown.
Parameters#
path
string
Returns#
Promise<ProjectTreeResult>