MCPcopy Create free account
hub / github.com/53AI/53AIHub / executeUpload

Method executeUpload

api/service/batch_upload_manager.go:362–368  ·  view source on GitHub ↗

executeUpload 执行文件上传

(task *UploadTask)

Source from the content-addressed store, hash-verified

360
361// executeUpload 执行文件上传
362func (m *BatchUploadManager) executeUpload(task *UploadTask) error {
363 if m.uploadExecutor != nil {
364 return m.uploadExecutor(task)
365 }
366 fileProcessor := NewFileProcessor()
367 return fileProcessor.ProcessFileUpload(task)
368}
369
370/*
371updateFileProgressNoLock 在调用方已持有 batch.mu 时调用(或在已知无需加锁的上下文)

Callers 1

processUploadTaskMethod · 0.95

Calls 2

ProcessFileUploadMethod · 0.95
NewFileProcessorFunction · 0.85

Tested by

no test coverage detected