MCPcopy
hub / github.com/dendronhq/dendron / getDWorkspace

Function getDWorkspace

packages/plugin-core/src/workspace.ts:95–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 * @deprecated: If need static access use ExtensionProvider.getDWorkspace().
94 * Or preferably pass IDendronExtension to constructors of your classes. */
95export function getDWorkspace(): DWorkspaceV2 {
96 const ws = getExtension();
97 return ws.getWorkspaceImplOrThrow();
98}
99
100/**
101 * @deprecated: If need static access use ExtensionProvider.getExtension().

Callers 3

deactivateFunction · 0.90
isActiveMethod · 0.85
podsDirMethod · 0.85

Calls 2

getExtensionFunction · 0.85

Tested by

no test coverage detected