Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / path / flowDataPath

Function: flowDataPath()

flowDataPath(flowFolder): string

Defined in: packages/fireflow-vfs/src/path/flow-package.ts:140

Get flow.json path within flow package.

Parameters

flowFolder

string

Path to .fflow folder

Returns

string

Path to flow.json

Example

ts
flowDataPath('workflows/my-flow.fflow')
// → 'workflows/my-flow.fflow/flow.json'

Licensed under BUSL-1.1