toPosixPath
Converts a given path to a POSIX-style path by replacing backslashes with forward slashes.
Import:
import { toPosixPath } from 'obsidian-dev-utils/path';Signature:
function toPosixPath(path: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
path | string | The path to convert. |
Returns: string — The POSIX-style path.