commit | 690c5e1ff31a9318edfa6110dca0c0e159bce7c5 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Feb 09 15:06:15 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Feb 09 15:06:15 2017 -0800 |
tree | afcc0c1333e6ab1a95bab0b61fc155e674715e33 | |
parent | 6d335f04f5d88fdda156dda26b543458050095e7 [diff] |
Extract out common `ReplayAware` interface (#29) This lets us unify the identifier logic across record and replay object serializations. 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();