# FILE_OPEN_DIRECTORY

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

Require the entry to be a directory.

```ds title="FILE_OPEN_DIRECTORY"
const FILE_OPEN_DIRECTORY: FileOpenFlags
```

[language/library/src/fs/binding/file.ds:33](https://github.com/destack-sh/destack/blob/main/language/library/src/fs/binding/file.ds#L33)
