commit | 21e4eafad0291794f2966edabba40a8de4bf2c41 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Feb 06 11:24:06 2017 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 06 11:24:06 2017 -0800 |
tree | a25d3f44fcbbee9852f373d14918685c10c508b2 | |
parent | e30f99c81511ae8595d425ec9e763f61df2fb646 [diff] |
Clean up RecordingFile `ResultReference` classes (#20)
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();