PersistentAI API Documentation / @persistent-ai/fireflow-vfs / server / uploadObjectWithContentType
Function: uploadObjectWithContentType()
uploadObjectWithContentType(
repoName,branch,path,content,contentType?):Promise<ObjectStats>
Defined in: packages/fireflow-vfs/src/steps/lakefs-steps.ts:219
Upload object content with explicit content type
Similar to uploadObject but allows specifying the MIME type. Used for system files like action configurations.
Parameters
repoName
string
lakeFS repository name
branch
string
Branch name
path
string
Target path in the repository
content
String or Buffer content to upload
string | Buffer<ArrayBufferLike>
contentType?
string = 'application/octet-stream'
MIME type (default: application/octet-stream)
Returns
Promise<ObjectStats>
ObjectStats with full metadata