stripPathFragmentAndQuery
eslint-plugin-copilot Documentation v1.1.4
eslint-plugin-copilot Documentation / _internal/file-system / stripPathFragmentAndQuery
Function: stripPathFragmentAndQuery()
function stripPathFragmentAndQuery(value: string): string;
Defined in: _internal/file-system.ts:27
Remove #fragment and ?query suffixes from a Markdown-style path target.
Parametersâ
| Parameter | Type |
|---|---|
value | string |
Returnsâ
string