MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / addBlockingTaskFromPath

Function addBlockingTaskFromPath

src/modals/TaskModal.ts:254–266  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

252 }
253
254 protected addBlockingTaskFromPath(path: string): void {
255 const currentPath = this.getCurrentTaskPath();
256 if (currentPath && path === currentPath) {
257 return;
258 }
259 const item = this.createDependencyItemFromPath(path);
260 const nextItems = addDependencyItem(this.blockingItems, item);
261 if (nextItems.length === this.blockingItems.length) {
262 return;
263 }
264 this.blockingItems = nextItems;
265 this.renderBlockingList();
266 }
267
268 protected async openBlockedBySelector(): Promise<void> {
269 const sourcePath = this.getDependencySourcePath();

Callers

nothing calls this directly

Calls 2

addDependencyItemFunction · 0.90
getCurrentTaskPathMethod · 0.80

Tested by

no test coverage detected