lockFilePath function

String lockFilePath(
  1. String workingDirectory, {
  2. String? daemonSharedPath,
})

Used to ensure that only one instance of this daemon is running at a time.

Implementation

String lockFilePath(String workingDirectory, {String? daemonSharedPath}) =>
    p.join(
      daemonWorkspace(workingDirectory, daemonSharedPath: daemonSharedPath),
      '.dart_build_lock',
    );