Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / / VFSTreeEntry

Interface: VFSTreeEntry

Defined in: packages/fireflow-vfs/src/types/entry.ts:20

Unified VFS Entry structure for tree display

This is the canonical type used across frontend and backend for representing files and directories in the VFS tree.

Extended by

Properties

checksum?

optional checksum: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:34

Content checksum


mimeType?

optional mimeType: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:32

MIME type


mtime?

optional mtime: number

Defined in: packages/fireflow-vfs/src/types/entry.ts:36

Modification time (Unix timestamp in milliseconds)


name

name: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:26

File or directory name


path

path: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:24

Path within workspace (without ff:// prefix)


size?

optional size: number

Defined in: packages/fireflow-vfs/src/types/entry.ts:30

Size in bytes (files only)


type

type: VFSEntryType

Defined in: packages/fireflow-vfs/src/types/entry.ts:28

Entry type


uri

uri: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:22

ff:// URI format

Licensed under BUSL-1.1