TempDirLockStrategy constructor

TempDirLockStrategy(
  1. String targetPath, {
  2. String? lockDirectory,
  3. bool readOnly = false,
  4. Duration? timeout,
})

Creates a TempDirLockStrategy for the container at targetPath.

Implementation

TempDirLockStrategy(
  String targetPath, {
  String? lockDirectory,
  super.readOnly = false,
  super.timeout,
}) : super(_resolveTempLockPath(targetPath, lockDirectory));