# DirectoryEntry

`import { DirectoryEntry } from "destack:fs/binding";`

Directory entry metadata.

```ds title="DirectoryEntry"
export struct DirectoryEntry {
    name: PathSpan;
    kind: DirectoryEntryKind;
}
```

[language/library/src/fs/binding/directory.ds:34:39](https://github.com/destack-sh/destack/blob/main/language/library/src/fs/binding/directory.ds#L34-L39)

## Members

### `name: PathSpan`

Entry name span inside the path output buffer.

### `kind: DirectoryEntryKind`

Entry kind.
