# FileSeekOrigin

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

Seek origin.

```ds title="FileSeekOrigin"
export enum FileSeekOrigin {
    Start = 0,
    Current = 1,
    End = 2,
}
```

[language/library/src/fs/binding/file.ds:122:129](https://github.com/destack-sh/destack/blob/main/language/library/src/fs/binding/file.ds#L122-L129)

## Variants

### `Start = 0`

Seek from the start of the file.

### `Current = 1`

Seek from the current position.

### `End = 2`

Seek from the end of the file.
