Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afar1/fieldtheory-cli
/ quoteForPosixShell
Function
quoteForPosixShell
src/current.ts:115–117 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
113
}
114
115
function
quoteForPosixShell(value: string): string {
116
return
`
'${value.replace(/'
/g, `
'\\'
'`)}'
`;
117
}
118
119
function
statMtimeMs(filePath: string): number {
120
try {
Callers
1
readCurrentDocumentSummary
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected