commit | c2f5b40f99822e6ca585964303be4065155210df | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Wed Feb 08 10:28:03 2017 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 08 10:28:03 2017 -0800 |
tree | 1f89aaf55cd2220eeb5eaa9dc3f5cd4eeb9c9884 | |
parent | b2689ff9c2b31018ae72408a46e61fed7feca278 [diff] |
Add deeplyEqual() method for use in replay (#25) 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();