commit | ec0202743c15c3db5f2277e2bdf14233d18c68b4 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Fri Jan 06 07:19:48 2017 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 06 07:19:48 2017 -0800 |
tree | 9eb26e96884d96cf75bf02688552b1522cec28a0 | |
parent | 4d0bbfde756ff627cfd444ea762b1491f4568770 [diff] |
Remove @TestOn('vm') and library directive from memory_test.dart (#53)
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();