Skip to content

FileInfo

Defined in: src/sandbox/types.ts:32

Metadata about a file or directory in a sandbox.

Provides minimal structured information that lets tools distinguish files from directories and report sizes. isDir and size are undefined when the backend cannot determine them accurately.

readonly name: string;

Defined in: src/sandbox/types.ts:33


readonly optional isDir?: boolean;

Defined in: src/sandbox/types.ts:34


readonly optional size?: number;

Defined in: src/sandbox/types.ts:35