commit | ec7dfdbe5b530ed755f29e28dc177f2bf15a098a | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Jul 13 11:32:07 2017 -0700 |
committer | GitHub <noreply@github.com> | Thu Jul 13 11:32:07 2017 -0700 |
tree | 14d0a25262a4971d12ecfcf47e8df10429ab116c | |
parent | befdc6e373ce5b74e597b831601cbb887779e516 [diff] |
Bump SDK constraint to allow to early Dart 2.0 release (#60)
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();