commit | 12156a51656bc9a5d5a6ac24671c5f46d685cce9 | [log] [tgz] |
---|---|---|
author | Leaf Petersen <leafpetersen@users.noreply.github.com> | Tue Nov 21 17:51:22 2017 -0800 |
committer | Todd Volkert <tvolkert@users.noreply.github.com> | Tue Nov 21 17:51:22 2017 -0800 |
tree | 5324401586423a7fc5794b9c976383d7380eb560 | |
parent | ec7dfdbe5b530ed755f29e28dc177f2bf15a098a [diff] |
Fix line splitter (#62) Replace use of LineSplitter with wrapper that correctly implements the Converter<String, List<String>> interface.
A generic file system abstraction for Dart.
Like dart:io
, package:file
supplies a rich Dart-idiomatic API for accessing a file system.
Unlike dart:io
, package:file
:
Implement your own custom file system:
import 'package:file/file.dart'; class FooBarFileSystem implements FileSystem { ... }
Use the in-memory file system:
import 'package:file/memory.dart'; var fs = new MemoryFileSystem();
Use the local file system (requires dart:io access):
import 'package:file/local.dart'; var fs = const LocalFileSystem();