PersistentAI API Documentation / @persistentai/fireflow-vfs / path / extractPath
Function: extractPath()
extractPath(
uri):string
Defined in: packages/fireflow-vfs/src/path/utils.ts:223
Extract the path from a VFS URI.
Parameters
uri
string
VFS URI string (or plain path)
Returns
string
Path string without scheme
Example
ts
extractPath('ff:///foo/bar') // '/foo/bar'
extractPath('/foo/bar') // '/foo/bar'