MCPcopy
hub / github.com/callumalpass/tasknotes / openQuickActionsForTaskFile

Method openQuickActionsForTaskFile

src/main.ts:1768–1779  ·  view source on GitHub ↗
(
		file: TFile,
		notTaskNotice = "Selected file is not a tasknote"
	)

Source from the content-addressed store, hash-verified

1766 }
1767
1768 private async openQuickActionsForTaskFile(
1769 file: TFile,
1770 notTaskNotice = "Selected file is not a tasknote"
1771 ): Promise<void> {
1772 const taskInfo = await this.cacheManager.getTaskInfo(file.path);
1773 if (!taskInfo) {
1774 new Notice(notTaskNotice);
1775 return;
1776 }
1777
1778 await this.openQuickActionsForTaskInfo(taskInfo);
1779 }
1780
1781 private async openQuickActionsForTaskInfo(taskInfo: TaskInfo): Promise<void> {
1782 const { TaskActionPaletteModal } = await import("./modals/TaskActionPaletteModal");

Callers 1

Calls 2

getTaskInfoMethod · 0.65

Tested by

no test coverage detected