commit | 24f17ebbb3773588cba72fd91b225651a6055e26 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Fri Feb 10 08:43:17 2017 -0800 |
committer | GitHub <noreply@github.com> | Fri Feb 10 08:43:17 2017 -0800 |
tree | 22c60bbda9b01b902722fc1ccef972a6fb654656 | |
parent | c9474de9188de017b75bde68c3e135bef09251a7 [diff] |
Run common tests for ReplayFileSystem. (#31)
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();