# FileAdvice

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

File access pattern advice.

```ds title="FileAdvice"
export enum FileAdvice {
    Normal = 0,
    Sequential = 1,
    Random = 2,
    WillNeed = 3,
    DontNeed = 4,
    NoReuse = 5,
}
```

[language/library/src/fs/binding/file.ds:168:181](https://github.com/destack-sh/destack/blob/main/language/library/src/fs/binding/file.ds#L168-L181)

## Variants

### `Normal = 0`

No special behavior.

### `Sequential = 1`

File will be accessed sequentially.

### `Random = 2`

File will be accessed randomly.

### `WillNeed = 3`

File data will be needed soon.

### `DontNeed = 4`

File data will not be needed soon.

### `NoReuse = 5`

File data will be used once.
