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

Method getPendingTaskInfo

src/utils/TaskManager.ts:291–300  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

289 }
290
291 private getPendingTaskInfo(path: string): TaskInfo | null {
292 const taskInfo = this.pendingTaskInfoByPath.get(path);
293 if (!taskInfo) return null;
294
295 return {
296 ...taskInfo,
297 id: taskInfo.id ?? path,
298 path,
299 };
300 }
301
302 private shouldUsePendingTaskInfo(
303 pendingTaskInfo: TaskInfo,

Callers 3

handleFileChangedMethod · 0.95
getTaskInfoMethod · 0.95
getCachedTaskInfoSyncMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected