Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codexu/note-gen
/ functions
Functions
2,812 in github.com/codexu/note-gen
⨍
Functions
2,812
◇
Types & classes
545
↓ 2 callers
Function
getSyncPushQueue
()
src/lib/sync/sync-push-queue.ts:932
↓ 2 callers
Function
getTemporaryBlockRemainingMs
(config: WebDAVConfig)
src/lib/sync/webdav.ts:76
↓ 2 callers
Method
getTool
(name: string)
src/lib/agent/tool-registry.ts:1052
↓ 2 callers
Function
getWebDAVConfig
* 获取 WebDAV 配置
src/lib/sync/sync-push-queue.ts:34
↓ 2 callers
Function
getWorkspaceFiles
* 获取工作区目录树
src/lib/rag.ts:518
↓ 2 callers
Function
handleCheckPicgoState
()
src/app/core/setting/imageHosting/picgo.tsx:31
↓ 2 callers
Function
handleConfirm
(scope: "once" | "conversation" = "once")
src/components/ui/agent-plan.tsx:566
↓ 2 callers
Function
handleCreateNote
()
src/app/core/main/editor/empty-state.tsx:51
↓ 2 callers
Function
handleDelete
(id: number)
src/app/core/main/chat/chat-empty.tsx:90
↓ 2 callers
Function
handleDelete
(mark: Mark)
src/app/mobile/record/mobile-record-stream.tsx:249
↓ 2 callers
Function
handleFileSelect
(file: MarkdownFile)
src/app/core/main/chat/file-selector.tsx:84
↓ 2 callers
Function
handleOrganize
()
src/app/core/main/mark/mark-actions.tsx:24
↓ 2 callers
Function
handleRecordComplete
(router?: RecordRouter)
src/lib/record-navigation.ts:13
↓ 2 callers
Function
handleStart
()
src/app/core/main/mark/control-recording.tsx:70
↓ 2 callers
Function
handleStop
()
src/app/core/main/mark/control-recording.tsx:87
↓ 2 callers
Function
handleTransfer
(tagId: number, e?: React.MouseEvent)
src/app/core/main/mark/image-gallery.tsx:90
↓ 2 callers
Function
handleUpdate
()
src/app/core/main/editor/markdown/math-extension.tsx:28
↓ 2 callers
Function
hasCreateOnlyFileIntent
(userInput: string)
src/lib/agent/runtime.ts:184
↓ 2 callers
Function
hasExternalFilesDragData
(dataTransfer: DataTransfer)
src/app/core/main/file/file-dnd.ts:67
↓ 2 callers
Function
hasReadOnlyIntent
(userInput: string)
src/lib/agent/permission-engine.ts:34
↓ 2 callers
Function
hslToCssValue
* 将 HSL 值转换为 CSS 变量格式
src/lib/theme-utils.ts:6
↓ 2 callers
Method
index
* 构建索引 * @param documents 文档列表
src/lib/bm25.ts:81
↓ 2 callers
Function
indicatesWriteCompletedClaim
(content: string)
src/lib/agent/runtime.ts:455
↓ 2 callers
Function
init
()
src/app/page.tsx:9
↓ 2 callers
Function
init
()
src/app/core/setting/sync/page.tsx:60
↓ 2 callers
Function
init
()
src/app/mobile/writing/custom-header.tsx:308
↓ 2 callers
Function
initAllDatabases
()
src/db/index.ts:13
↓ 2 callers
Function
initAutoDataSyncRuntime
()
src/lib/sync/auto-data-sync-queue.ts:780
↓ 2 callers
Function
initBM25Search
()
src/lib/rag.ts:181
↓ 2 callers
Function
initChatsDb
()
src/db/chats.ts:30
↓ 2 callers
Function
initMcp
()
src/lib/mcp/init.ts:8
↓ 2 callers
Function
initModelList
()
src/app/core/setting/ai/modelSelect.tsx:38
↓ 2 callers
Function
initTagsDb
()
src/db/tags.ts:19
↓ 2 callers
Function
insertChat
(chat: Omit<Chat, 'id' | 'createdAt'>)
src/db/chats.ts:163
↓ 2 callers
Function
insertChats
(chats: Chat[])
src/db/chats.ts:216
↓ 2 callers
Function
insertMarks
(marks: Partial<Mark>[])
src/db/marks.ts:197
↓ 2 callers
Function
insertTags
(tags: Tag[])
src/db/tags.ts:104
↓ 2 callers
Function
invokeAiBinary
( payload: Omit<JsonRequestPayload, 'requestId'>, signal?: AbortSignal )
src/lib/ai/tauri-client.ts:168
↓ 2 callers
Function
invokeAiJson
( payload: Omit<JsonRequestPayload, 'requestId'>, signal?: AbortSignal )
src/lib/ai/tauri-client.ts:148
↓ 2 callers
Function
isAbsolutePath
(filePath: string)
src/lib/skills/runtime.ts:86
↓ 2 callers
Function
isAiSuggestionShortcutVisible
()
src/lib/ai-suggestion-shortcut-state.ts:7
↓ 2 callers
Function
isAutoDataSyncApplyingRemote
()
src/lib/sync/auto-data-sync-queue.ts:312
↓ 2 callers
Function
isEditableElement
(element: HTMLElement | null)
src/lib/is-editable-keyboard-target.ts:16
↓ 2 callers
Function
isEditableKeyboardTarget
(target: EventTarget | null)
src/lib/is-editable-keyboard-target.ts:1
↓ 2 callers
Function
isFileEntry
(entry: RemoteContentEntry)
src/app/core/main/file/folder-item/delete-folder-utils.ts:43
↓ 2 callers
Function
isFocusWithinEditor
(view: EditorView)
src/app/core/main/editor/markdown/tiptap-editor.tsx:655
↓ 2 callers
Function
isImageRecord
(mark: Pick<Mark, 'type'>)
src/app/core/main/mark/image-record-status.ts:16
↓ 2 callers
Function
isInSkillsFolder
(itemPath: string)
src/app/core/main/file/file-item.tsx:114
↓ 2 callers
Function
isInSkillsFolder
(itemPath: string)
src/app/core/main/file/folder-item/index.tsx:72
↓ 2 callers
Function
isInternalFilePath
(path: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:472
↓ 2 callers
Function
isMacOS
()
src/app/core/main/chat/chat-preview.tsx:268
↓ 2 callers
Function
isMacPlatform
()
src/lib/editor-shortcut-utils.ts:62
↓ 2 callers
Function
isMessageObject
(value: unknown)
src/i18n/config.ts:21
↓ 2 callers
Function
isMutatingTool
(tool: AgentTool)
src/lib/agent/runtime.ts:495
↓ 2 callers
Function
isPickerCancelError
(error: unknown)
src/app/core/main/mark/control-image.tsx:21
↓ 2 callers
Function
isPropfindSuccess
(status: number)
src/lib/sync/webdav.ts:145
↓ 2 callers
Function
isRecordOpenTab
(tab?: OpenTabInfo | null)
src/stores/article.ts:92
↓ 2 callers
Function
isRecordTransferState
(syncState: AutoDataSyncState)
src/components/record-sync-status-banner.tsx:88
↓ 2 callers
Function
isRemoteFileEntry
(value: unknown)
src/stores/settingsSync.ts:31
↓ 2 callers
Function
isRootBlankDropTarget
(target: EventTarget | null)
src/app/core/main/file/file-manager.tsx:195
↓ 2 callers
Function
isSameTargetFile
(targetFilePath: string, activeFilePath: string)
src/lib/agent/runtime.ts:193
↓ 2 callers
Function
isStopWord
* 检查关键词是否为停用词
src/lib/rag.ts:249
↓ 2 callers
Function
isTextItem
(item: any)
src/lib/pdf.ts:11
↓ 2 callers
Function
isValidSkillId
(id: string)
src/lib/skills/parser.ts:371
↓ 2 callers
Function
isValidUrl
(text: string)
src/app/core/main/mark/control-link.tsx:141
↓ 2 callers
Function
keyboardEventMatchesShortcut
(event: KeyboardEvent, shortcut: string)
src/lib/editor-shortcut-utils.ts:139
↓ 2 callers
Method
listSkillDirectories
* 列出 Skill 子目录
src/lib/skills/manager.ts:838
↓ 2 callers
Function
loadActivityCalendarData
()
src/lib/activity/index.ts:55
↓ 2 callers
Function
loadLocaleMessages
(locale: SupportedLocale)
src/i18n/config.ts:47
↓ 2 callers
Function
loadProviderTemplates
(builtinTemplates: AiConfig[])
src/lib/ai/provider-templates-runtime.ts:222
↓ 2 callers
Method
loadSkillFromDirectory
* 从目录加载单个 Skill
src/lib/skills/manager.ts:145
↓ 2 callers
Function
markAutoDataSyncDirty
(domain: AutoDataSyncDomain)
src/lib/sync/auto-data-sync-queue.ts:1959
↓ 2 callers
Function
markToMarkdown
(mark: Mark)
src/lib/mark-to-markdown.ts:6
↓ 2 callers
Function
mergeNoteGenDefaultModels
(config: AiConfig, remoteModels: ModelConfig[])
src/lib/ai/notegen-default-models-runtime.ts:146
↓ 2 callers
Function
mergeResultsByDocument
* 合并相同文档的不同检索结果 * @param results 所有检索结果 * @param weights 权重配置
src/lib/rag.ts:1176
↓ 2 callers
Function
mergeSyncData
( localData: T, remoteData: Partial<T>, options: SyncExclusionOptions = {} )
src/config/sync-exclusions.ts:146
↓ 2 callers
Function
mkcolFullPath
( config: WebDAVConfig, fullPath: string, proxy?: Proxy )
src/lib/sync/webdav.ts:271
↓ 2 callers
Function
moveFileManagerEntry
(sourcePath: string, targetDirectoryPath: string)
src/app/core/main/file/file-dnd.ts:71
↓ 2 callers
Function
moveOutputFile
(fullPathFs: string, relativeFromRuntime: string)
src/lib/skills/runtime.ts:349
↓ 2 callers
Function
navigateHistory
(direction: 'up' | 'down', currentText: string)
src/app/core/main/chat/chat-input.tsx:235
↓ 2 callers
Function
normalizeDirectoryPath
(path: string)
src/app/core/main/file/file-dnd.ts:22
↓ 2 callers
Function
normalizeFolderPath
(folderPath: string)
src/app/core/main/file/folder-item/delete-folder-utils.ts:56
↓ 2 callers
Function
normalizeForCompare
(value: string)
src/components/ui/agent-plan.tsx:200
↓ 2 callers
Function
normalizeFsPath
(path: string)
src/lib/workspace.ts:5
↓ 2 callers
Function
normalizeLineEndings
(text: string)
src/components/ui/diff-viewer.tsx:41
↓ 2 callers
Function
normalizeLinkedCandidate
(candidate: unknown)
src/lib/agent/tools/note-tools.ts:12
↓ 2 callers
Function
normalizeLocale
(locale?: string | null)
src/i18n/config.ts:13
↓ 2 callers
Function
normalizePathForCompare
(path: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:348
↓ 2 callers
Function
normalizePathForCompare
(path: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:169
↓ 2 callers
Function
normalizePathSegments
(path: string)
src/lib/markdown-image-path.ts:1
↓ 2 callers
Function
normalizeProviderTemplatesPayload
(payload: unknown)
src/lib/ai/provider-templates-runtime.ts:90
↓ 2 callers
Function
normalizeStoredPath
(path: string)
src/db/marks.ts:24
↓ 2 callers
Function
normalizeText
(value?: string | null)
src/app/core/main/mark/mark-filters.ts:16
↓ 2 callers
Function
normalizeWorkspacePathSegments
(path: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:258
↓ 2 callers
Function
normalizeWorkspacePathSegments
(path: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:88
↓ 2 callers
Function
notifyPdfRenderStart
(options?: MarkdownExportOptions)
src/app/core/main/editor/markdown/markdown-export.ts:322
↓ 2 callers
Function
openFileInApp
(path: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:1717
↓ 2 callers
Function
openLocalPathWithDefaultApp
(path: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:492
↓ 2 callers
Function
openMarkdownFiles
(paths: string[])
src/app/core/layout.tsx:64
↓ 2 callers
Function
parseDependencyError
(stderr: string)
src/lib/skills/dependency-installer.ts:61
← previous
next →
601–700 of 2,812, ranked by callers