( file: string, options?: LockOptions, )
| 24 | } |
| 25 | |
| 26 | export function lock( |
| 27 | file: string, |
| 28 | options?: LockOptions, |
| 29 | ): Promise<() => Promise<void>> { |
| 30 | return getLockfile().lock(file, options) |
| 31 | } |
| 32 | |
| 33 | export function lockSync(file: string, options?: LockOptions): () => void { |
| 34 | return getLockfile().lockSync(file, options) |
no test coverage detected