file_lock 1.0.0 copy "file_lock: ^1.0.0" to clipboard
file_lock: ^1.0.0 copied to clipboard

lock file prevent program start multiple times

file_lock #

lock file prevent program start multiple times

use #

import 'package:file_lock/init.dart';

void main() async {
  final path = '/tmp/file.lock';
  fileLock(path);
  print('lock file $path');
}

0
likes
120
pub points
19%
popularity

Publisher

verified publisherrmw.link

lock file prevent program start multiple times

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

on_exit

More

Packages that depend on file_lock