# formatFilePath

`function` in `utils` · v0.7.0

<https://docs.seedcord.org/packages/utils/0.7.0/functions/format-file-path>

Formats a file path relative to the current working directory.

```ts
formatFilePath(
    filePath: string,
    options?: FormatFileOptions
): string
```

Formats a file path relative to the current working directory.

Parameters.

- `filePath` `string` — The file path to format.
- `options?` `FormatFileOptions` — Formatting options.

Returns `string`.
