MCPcopy Index your code

hub / github.com/codexu/note-gen / functions

Functions2,812 in github.com/codexu/note-gen

↓ 3 callersFunctionnormalizeForNoOpCheck
(text: string)
src/lib/agent/runtime.ts:238
↓ 3 callersFunctionnormalizeHighlightRange
( range: AiSuggestionHighlightRange, docSize: number, )
src/app/core/main/editor/markdown/ai-suggestion-highlight.ts:26
↓ 3 callersFunctionnormalizeKeyName
(key: string)
src/lib/editor-shortcut-utils.ts:70
↓ 3 callersFunctionnormalizeNoteGenDefaultModelsPayload
(payload: unknown)
src/lib/ai/notegen-default-models-runtime.ts:119
↓ 3 callersFunctionnormalizeOutlinePosition
(value: unknown)
src/lib/outline-preferences.ts:10
↓ 3 callersFunctionnormalizeRecordFilters
(filters?: Partial<RecordFiltersLike>)
src/app/core/main/mark/mark-filters.ts:64
↓ 3 callersFunctionnormalizeScore
* 归一化分数到 [0, 1] 区间 * @param score 原始分数 * @param type 分数类型(不同类型使用不同的归一化策略) * @param allScores 同类型所有分数的数组(用于 min-max 归一化)
src/lib/rag.ts:1092
↓ 3 callersFunctionnormalizeText
(value?: string)
src/components/activity/activity-day-detail.tsx:58
↓ 3 callersFunctionparentPath
(path: string)
src/app/mobile/writing/browser-utils.ts:7
↓ 3 callersFunctionparseRemoteJsonArray
(content: string | null)
src/lib/sync/auto-data-sync-queue.ts:1692
↓ 3 callersFunctionprocessTranscription
( audioBlob: Blob, queueId: string, )
src/app/core/main/mark/control-recording.tsx:154
↓ 3 callersMethodreadFileContent
* 读取文件内容
src/lib/skills/manager.ts:873
↓ 3 callersFunctionreadNoteContentForChange
(filePath: string)
src/lib/agent/tool-registry.ts:301
↓ 3 callersFunctionremoveFolderFromTree
(tree: DirTree[], folderPath: string)
src/app/core/main/file/folder-item/delete-folder-utils.ts:172
↓ 3 callersFunctionrenderContent
()
src/app/core/main/mark/mark-item.tsx:555
↓ 3 callersFunctionreportEvent
( eventType: EventType, eventData: EventData )
src/lib/event-report.ts:167
↓ 3 callersFunctionrequestGitLab
(method: string, url: string, body?: object)
src/components/title-bar-toolbars/sync-toggle.tsx:163
↓ 3 callersFunctionrequestGitea
(method: string, url: string, body?: object)
src/components/title-bar-toolbars/sync-toggle.tsx:184
↓ 3 callersFunctionresetForm
()
src/app/core/setting/template/setting-template.tsx:106
↓ 3 callersFunctionresolveImagePathFromMarkdown
(markdownPath: string, imagePath: string)
src/lib/markdown-image-path.ts:37
↓ 3 callersFunctionrestoreMark
(id: number)
src/db/marks.ts:165
↓ 3 callersFunctionrestoreMarks
(ids: number[])
src/db/marks.ts:281
↓ 3 callersFunctions3ListObjects
( config: S3Config, prefix: string, proxy?: Proxy )
src/lib/sync/s3.ts:596
↓ 3 callersFunctionsafeDecodeURIComponent
(value: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:181
↓ 3 callersFunctionsaveTextExport
( content: string, filename: string, extension: string, mimeType: string, filterName: string, )
src/app/core/main/editor/markdown/markdown-export.ts:296
↓ 3 callersFunctionscheduleViewportUpdates
()
src/components/mobile-viewport.tsx:77
↓ 3 callersFunctionsetFocused
(view: EditorView)
src/app/core/main/editor/markdown/tiptap-editor.tsx:678
↓ 3 callersFunctionsetPrimaryModelHandler
(primaryModel: string)
src/app/core/setting/components/model-select.tsx:78
↓ 3 callersFunctionsetSearchTerm
(editor: Editor, term: string)
src/app/core/main/editor/markdown/search-replace-panel.tsx:35
↓ 3 callersFunctionshouldExclude
(path: string)
src/config/sync-exclusions.ts:22
↓ 3 callersFunctionshouldExcludeFromSync
(fieldName: string, options: SyncExclusionOptions = {})
src/config/sync-exclusions.ts:111
↓ 3 callersFunctionstopCurrentAudio
()
src/lib/audio.ts:341
↓ 3 callersFunctionstopSystemVoice
()
src/lib/audio.ts:52
↓ 3 callersMethodsyncFile
* 同步单个文件
src/lib/sync/sync-manager.ts:515
↓ 3 callersFunctionsyncModelList
(value: string)
src/app/core/setting/ai/modelSelect.tsx:97
↓ 3 callersFunctiontestConnection
(configToTest?: S3Config)
src/app/core/setting/sync/s3-sync.tsx:50
↓ 3 callersFunctiontestConnection
(configToTest?: WebDAVConfig)
src/app/core/setting/sync/webdav-sync.tsx:47
↓ 3 callersMethodtestConnection
* 测试服务器连接 * 注意:测试时不会更新 store 中的服务器状态
src/lib/mcp/server-manager.ts:219
↓ 3 callersFunctiontoClipboardItems
(entries: FileSelectionEntry[])
src/app/core/main/file/file-selection.ts:84
↓ 3 callersFunctiontoLinear
(value: number)
src/components/mobile-statusbar.tsx:54
↓ 3 callersFunctiontranscribeRecording
(audioBlob: Blob)
src/lib/audio.ts:374
↓ 3 callersFunctiontransformImagePaths
()
src/app/core/main/editor/markdown/tiptap-editor.tsx:2920
↓ 3 callersMethodupdateConfig
* 更新配置
src/lib/sync/sync-manager.ts:164
↓ 3 callersFunctionupdateConversationMessageCount
(id: number, delta: number)
src/db/conversations.ts:147
↓ 3 callersFunctionupdateViewportVars
()
src/components/mobile-viewport.tsx:36
↓ 3 callersFunctionuploadAutoDataSyncMeta
(uploadedDomains: AutoDataSyncDomain[])
src/lib/sync/auto-data-sync-queue.ts:1156
↓ 3 callersFunctionuploadAutoDataSyncNow
()
src/lib/sync/auto-data-sync-queue.ts:409
↓ 3 callersFunctionvalidateSkillYamlMetadata
(metadata: SkillYamlMetadata)
src/lib/skills/validator.ts:31
↓ 3 callersFunctionwalk
(node: DirTree)
src/app/core/main/file/folder-item/delete-folder-utils.ts:86
↓ 2 callersMethod_getGiteaFiles
* 获取 Gitea 仓库中所有文件的 SHA(递归获取子目录)
src/lib/sync/folder-sync.ts:338
↓ 2 callersFunctionabort
()
src/lib/sync/encode-fetch.ts:61
↓ 2 callersFunctionaddCustomModelHandler
(model: AiConfig)
src/app/core/setting/ai/create.tsx:86
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:62
↓ 2 callersFunctionanalyzeConflictType
* 分析冲突类型
src/lib/sync/conflict-resolution.ts:186
↓ 2 callersFunctionappendAccessToken
(url: string, accessToken: string)
src/lib/sync/gitee.ts:133
↓ 2 callersFunctionapplyImageNodeAttributes
(element: HTMLImageElement, attrs: Record<string, unknown>)
src/app/core/main/editor/markdown/tiptap-editor.tsx:529
↓ 2 callersFunctionapplyPreset
(preset: ColorScheme)
src/app/mobile/setting/pages/theme/page.tsx:333
↓ 2 callersFunctionarmStableViewportFallback
()
src/components/mobile-viewport.tsx:83
↓ 2 callersFunctionblobToBytes
(blob: Blob)
src/lib/ai/tauri-client.ts:297
↓ 2 callersFunctionbuildConfig
(isTest: boolean = false)
src/app/core/setting/mcp/server-config-dialog.tsx:130
↓ 2 callersFunctionbuildCurrentQuoteData
()
src/app/core/main/editor/markdown/tiptap-editor.tsx:3587
↓ 2 callersFunctionbuildEditorChange
(target: string, before: string | undefined, after: string | undefined)
src/lib/agent/editor-adapter.ts:19
↓ 2 callersFunctionbuildS3BaseUrl
* 构建 S3 基础 URL(不含 key)
src/lib/sync/s3.ts:228
↓ 2 callersFunctionbuildShellCommand
( workingDirectory: string, moduleDir: string, command: string, args: string[] )
src/lib/skills/path-utils.ts:106
↓ 2 callersFunctionbuildVectorIndexedMap
(vectorDocuments)
src/lib/vector-document-key.js:5
↓ 2 callersFunctionbytesToDataUrl
(bytes: Uint8Array, extension: string)
src/app/core/main/mark/control-image.tsx:50
↓ 2 callersFunctioncalculateContentOverlap
* 计算两个文本的重叠度(基于字符级的最长公共子序列简化版本)
src/lib/rag.ts:1258
↓ 2 callersFunctioncalculateFileSha
(content: string)
src/lib/sync/auto-sync.ts:96
↓ 2 callersFunctioncalculateFolderVectors
({ folderPath, mode, checkFileVectorIndexed, setVectorCalcStatus, onProgress, }: CalculateFolderVect
src/lib/folder-vector.ts:29
↓ 2 callersMethodcalculateIDF
* 计算 IDF(逆文档频率) * @param N 总文档数
src/lib/bm25.ts:119
↓ 2 callersFunctioncalculateScore
* 计算搜索结果的评分
src/lib/search-utils.ts:100
↓ 2 callersFunctioncallTool
( serverId: string, toolName: string, args: any = {} )
src/lib/mcp/tools.ts:86
↓ 2 callersFunctioncancelRequest
(requestId: string)
src/lib/ai/tauri-client.ts:126
↓ 2 callersFunctioncanvasToBlob
(canvas: HTMLCanvasElement, type: string, quality?: number)
src/lib/record-image-thumbnail.ts:103
↓ 2 callersFunctioncategorizeMemory
* 自动分类记忆
src/db/memories.ts:27
↓ 2 callersFunctioncheckFileLock
(filePath: string)
src/lib/sync/conflict-resolution.ts:49
↓ 2 callersFunctionclampScale
(scale: number)
src/components/photo-preview-provider.tsx:18
↓ 2 callersFunctioncleanupCompletion
* 清理补全结果
src/lib/ai/completion.ts:12
↓ 2 callersFunctionclearChatsByTagId
(tagId: number)
src/db/chats.ts:252
↓ 2 callersFunctionclearLoadingStatus
(items: typeof cacheTree)
src/app/core/main/file/file-item.tsx:424
↓ 2 callersFunctionclearTimers
()
src/app/core/main/editor/markdown/tiptap-editor.tsx:1680
↓ 2 callersFunctioncloneCounts
()
src/lib/activity/aggregate.ts:18
↓ 2 callersFunctioncollectFolderFileEntries
(item: DirTree)
src/app/core/main/file/folder-item/delete-folder-utils.ts:83
↓ 2 callersFunctioncompact
(value?: string)
src/app/core/main/mark/image-record-status.ts:12
↓ 2 callersFunctioncompactRecordText
(value?: string)
src/app/core/main/mark/mark-item.tsx:72
↓ 2 callersFunctioncompareVersions
( leftInput: SemanticVersion | string | null | undefined, rightInput: SemanticVersion | string | null | un
src/lib/version.ts:74
↓ 2 callersFunctionconvertImageToBase64
(imageUrl: string)
src/lib/ai/utils.ts:110
↓ 2 callersFunctioncosineSimilarity
* 计算余弦相似度
src/db/memories.ts:38
↓ 2 callersFunctioncreateChangeId
()
src/lib/agent/tool-registry.ts:65
↓ 2 callersFunctioncreateDefaultOnboardingProgress
()
src/app/core/main/editor/onboarding-state.ts:15
↓ 2 callersFunctioncreateId
(prefix: string)
src/lib/agent/trace-recorder.ts:3
↓ 2 callersFunctioncreateImageAttachmentId
(prefix: string)
src/app/core/main/chat/chat-input.tsx:100
↓ 2 callersFunctioncreateLocalTreeNode
(name: string, isDirectory: boolean, parent?: DirTree)
src/stores/article.ts:127
↓ 2 callersFunctioncreateRecordTab
(mark: Mark, fallback: string)
src/app/core/main/mark/mark-record-tab.ts:48
↓ 2 callersFunctioncreateTauriOpenAIClient
(aiConfig?: AiConfig)
src/lib/ai/tauri-client.ts:261
↓ 2 callersFunctioncurrentOpenFileGuard
(input: Record<string, unknown>, mode: 'read' | 'write')
src/lib/agent/tool-registry.ts:174
↓ 2 callersFunctiondeleteMarkLocalAssets
(marks: Pick<Mark, 'type' | 'url'>[])
src/db/marks.ts:72
↓ 2 callersFunctiondeleteVectorDocumentsForFiles
(filePaths: string[])
src/lib/agent/tools/folder-tools.ts:14
↓ 2 callersFunctiondownloadBlob
(blob: Blob, filename: string)
src/app/core/main/editor/markdown/markdown-export.ts:285
↓ 2 callersFunctionencodeGitLabPath
(path: string, filename?: string)
src/components/title-bar-toolbars/sync-toggle.tsx:119
← previousnext →401–500 of 2,812, ranked by callers