File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import 'dart:io';
2
2
import 'package:path/path.dart' as p;
3
3
import 'package:uuid/uuid.dart' ;
4
4
5
- var uuid = Uuid ();
5
+ final _uuid = Uuid ();
6
6
7
7
/// Returns a temporary file name.
8
8
String tmpFileName () {
9
- return '${uuid .v4 ().replaceAll ('-' , '' )}${DateTime .now ().millisecondsSinceEpoch }' ;
9
+ return '${_uuid .v4 ().replaceAll ('-' , '' )}${DateTime .now ().millisecondsSinceEpoch }' ;
10
10
}
11
11
12
12
/// Returns a temporary path. You can use that to create a temporary file or directory.
Original file line number Diff line number Diff line change 1
1
name : tmp_path
2
2
description : Generate a unique path in system temp directory.
3
- version : 1.3.1
3
+ version : 1.3.2
4
4
homepage : https://github.com/flutter-cavalry/tmp_path
5
5
6
6
environment :
7
7
sdk : " >=2.18.2 <4.0.0"
8
8
9
9
dev_dependencies :
10
- mgenware_dart_lints : ^5.0.0
10
+ mgenware_dart_lints : ^6.5.2
11
11
test : ^1.16.0
12
12
dependencies :
13
13
path : ^1.8.2
You can’t perform that action at this time.
0 commit comments