MCPcopy Index your code
hub / github.com/filebrowser/filebrowser / copy

Function copy

frontend/src/api/files.ts:202–204  ·  view source on GitHub ↗
(items: any[], overwrite = false, rename = false)

Source from the content-addressed store, hash-verified

200}
201
202export function copy(items: any[], overwrite = false, rename = false) {
203 return moveCopy(items, true, overwrite, rename);
204}
205
206export async function checksum(url: string, algo: ChecksumAlg) {
207 const data = await resourceAction(`${url}?checksum=${algo}`, "GET");

Callers 1

PreviewSizeNamesFunction · 0.50

Calls 1

moveCopyFunction · 0.85

Tested by

no test coverage detected