Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / server / copyObject

Function: copyObject()

copyObject(repoName, branch, srcPath, destPath): Promise<ObjectStats>

Defined in: packages/fireflow-vfs/src/steps/lakefs-steps.ts:895

Server-side copy of an object (no download/upload required)

This is a metadata operation in lakeFS - it doesn't transfer data, making it very fast for moving/copying files within the same repository.

Parameters

repoName

string

branch

string

srcPath

string

destPath

string

Returns

Promise<ObjectStats>

ObjectStats with metadata of the copied object

Licensed under BUSL-1.1