MCPcopy Index your code
hub / github.com/fontsource/fontsource / cleanPaths

Function cleanPaths

packages/cli/src/utils.ts:1–2  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

1const cleanPaths = (str: string): string =>
2 str.replace('[', '').replace(']', '');
3
4// Used to determine where the downloader should save the files
5const makeFontDownloadPath = (

Callers 4

makeFontDownloadPathFunction · 0.85
makeFontFilePathFunction · 0.85
makeVariableFontFilePathFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected