OLD | NEW |
---|---|
(Empty) | |
1 import 'dart:io'; | |
2 import 'package:path/path.dart' as p; | |
3 | |
4 String getMultiLibraryCodePath() { | |
5 var currentScript = p.fromUri(Platform.script); | |
6 var codeDir = p.join(p.dirname(currentScript), 'multi_library_code'); | |
7 | |
8 assert(FileSystemEntity.isDirectorySync(codeDir)); | |
9 | |
10 return codeDir; | |
11 } | |
OLD | NEW |