Dynamic module lockfile

Index

Interfaces

Functions

Functions

check(path: string, opts: Options, callback: (err: Error) => void)

Parameters

  • path: string
  • opts: Options
  • callback: (err: Error) => void

check(path: string, callback: (err: Error) => void)

Parameters

  • path: string
  • callback: (err: Error) => void

checkSync(path: string, opts: Options): boolean

Parameters

Returns

boolean

lock(path: string, opts: Options, callback: (err: Error) => void)

Parameters

  • path: string
  • opts: Options
  • callback: (err: Error) => void

lock(path: string, callback: (err: Error) => void)

Parameters

  • path: string
  • callback: (err: Error) => void

lockSync(path: string, opts: Options)

Parameters

unlock(path: string, callback: (err: Error) => void)

Parameters

  • path: string
  • callback: (err: Error) => void

unlockSync(path: string)

Parameters

  • path: string