MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / createKeyToNullMapping

Function createKeyToNullMapping

js/botasaurus-server-js/src/task-helper.ts:30–35  ·  view source on GitHub ↗
(newLocal: any)

Source from the content-addressed store, hash-verified

28}
29
30function createKeyToNullMapping(newLocal: any): any {
31 return Object.keys(newLocal).reduce((acc: any, key: string) => {
32 acc[key] = null
33 return acc
34 }, {})
35}
36// @ts-ignore
37function deleteFile(filePath: string){
38 if (fs.existsSync(filePath)) {

Callers 2

collectAllKeysFromIdsFunction · 0.85
pushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected