MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / incrementalImport

Method incrementalImport

src/services/import/types.ts:147–147  ·  view source on GitHub ↗

执行增量导入

(
    sessionId: string,
    file: File | string,
    onProgress?: (p: ImportProgress) => void
  )

Source from the content-addressed store, hash-verified

145
146 /** 执行增量导入 */
147 incrementalImport(
148 sessionId: string,
149 file: File | string,
150 onProgress?: (p: ImportProgress) => void

Callers 5

incrementalImportFileMethod · 0.65
handleUnifiedImportFunction · 0.65
handleLegacyImportFunction · 0.65
registerChatHandlersFunction · 0.65
incrementalImportMethod · 0.65

Implementers 2

ElectronImportAdaptersrc/services/import/electron.ts
FetchImportAdaptersrc/services/import/fetch.ts

Calls

no outgoing calls

Tested by

no test coverage detected