Skip to main content

Interface: DirectoryEntry

A single entry returned when listing a directory (Files API wire shape).

Deprecated

Legacy snake_case shape; use FilesDirectoryEntry.

Properties

file_size?

optional file_size: number;

The length of the file in bytes. Omitted for directories.


is_directory?

optional is_directory: boolean;

True if the path is a directory.


last_modified?

optional last_modified: number;

Last modification time in milliseconds since unix epoch.


name?

optional name: string;

The name of the file or directory (last path component).


path?

optional path: string;

The absolute path of the file or directory.

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs