commit | 1c78228d4704251cd3bedd5afd634ebdf7720a61 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Mar 16 10:25:42 2017 -0700 |
committer | GitHub <noreply@github.com> | Thu Mar 16 10:25:42 2017 -0700 |
tree | ed4af9e911d24d9b1c214afe72af755c69af04b6 | |
parent | 4da2da0c38451329791c62123ac208e3e426160a [diff] |
Add more Windows tests (#53) More work towards #51
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();