Function
uploadFileData
(params: FormData, config: AxiosRequestConfig)
Source from the content-addressed store, hash-verified
| 106 | }; |
| 107 | |
| 108 | export const uploadFileData = (params: FormData, config: AxiosRequestConfig) => { |
| 109 | return http.upload<File.File>('files/upload', params, config); |
| 110 | }; |
| 111 | |
| 112 | export const batchCheckFiles = (paths: string[]) => { |
| 113 | return http.post<File.ExistFileInfo[]>('files/batch/check', { paths: paths }, TimeoutEnum.T_5M); |
Callers
nothing calls this directly
Tested by
no test coverage detected