(value: string)
| 100 | * neutralizing backslashes and single quotes to prevent query injection. |
| 101 | */ |
| 102 | export function escapeDriveQueryValue(value: string): string { |
| 103 | return value.replace(/\\/g, '\\\\').replace(/'/g, "\\'") |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Builds a Drive `q` clause matching files parented by any of the given folder |
no test coverage detected