getFileName
Gets the file name from the import(dot)meta(dot)url, converting it to a POSIX-style path.
Import:
import { getFileName } from 'obsidian-dev-utils/path';Signature:
function getFileName(importMetaUrl: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
importMetaUrl | string | The import(dot)meta(dot)url from which to extract the file name. |
Returns: string — The POSIX-style file name.