MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / releaseLock

Function releaseLock

src/utils/safeWriteJson.ts:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35async function safeWriteJson(filePath: string, data: any, options?: SafeWriteJsonOptions): Promise<void> {
36 const absoluteFilePath = path.resolve(filePath)
37 let releaseLock = async () => {} // Initialized to a no-op
38
39 // For directory creation
40 const dirPath = path.dirname(absoluteFilePath)

Callers 1

safeWriteJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected