WorkspaceEditor.createEmptyDb Function

Create a new, empty, EditableWorkspaceDb file on the local filesystem for importing Workspace resources.

createEmptyDb(args: { localFileName: string, manifest: WorkspaceDbManifest }): void

@note Do not pass an untrusted or unintended path in localFileName. This helper creates or overwrites the file at that location; callers that need fail-if-exists behavior should check first.

Parameter Type Description
args { localFileName: string, manifest: WorkspaceDbManifest }  

Returns - void

Defined in

Last Updated: 28 March, 2026