Function: inferTextMimeFromPath()
ts
function inferTextMimeFromPath(path: string): string;Defined in: src/lib/patch/index.ts:414
Infer a text MIME from a workspace path's extension (Add File outputs).
Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
string