commit | c9474de9188de017b75bde68c3e135bef09251a7 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Feb 09 16:22:07 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Feb 09 16:22:07 2017 -0800 |
tree | 84f722d2d06105fab87ddee951720c6f0a27e63d | |
parent | 690c5e1ff31a9318edfa6110dca0c0e159bce7c5 [diff] |
Merge `encoding.dart` and `resurrectors.dart` (#30) This merges the two concepts into one set of `Converter` and `Codec` types that all live in `codecs.dart`. Part of #11
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();