Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
const
cleanPaths = (str: string): string =>
2
str.replace(
'['
,
''
).replace(
']'
,
''
);
3
4
// Used to determine where the downloader should save the files
5
const
makeFontDownloadPath = (
Callers
4
makeFontDownloadPath
Function · 0.85
makeVariableFontDownloadPath
Function · 0.85
makeFontFilePath
Function · 0.85
makeVariableFontFilePath
Function · 0.85
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected