Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CapSoftware/Cap
/ escapeLikePattern
Function
escapeLikePattern
packages/web-backend/src/Storage/StorageRepo.ts:19–20 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
17
createHash(
"sha256"
).update(key).digest(
"hex"
);
18
19
const
escapeLikePattern = (value: string) =>
20
value.replace(/[\\%_]/g, (match) => `\\${match}`);
21
22
export
type
GoogleDriveIntegrationConfig = {
23
refreshToken: string;
Callers
1
StorageRepo
Class · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected