Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NomicFoundation/hardhat
/ shellQuote
Function
shellQuote
scripts/profiler/helpers/shell.ts:2–4 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
1
/** Quote a string
for
safe interpolation into a bash command line. */
2
export
function
shellQuote(value: string): string {
3
return
`
'${value.replaceAll("'
", `
'\\'
'`)}'
`;
4
}
Callers
5
runProfile
Function · 0.90
profileSystem
Function · 0.90
wrapWithPerfCpu
Function · 0.90
buildFlamegraphPipeline
Function · 0.90
perf-record.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected