commit | ab4b8fbb751c09a2521b187818317eda5d050032 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Jan 05 16:01:13 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 05 16:01:13 2017 -0800 |
tree | 44c8aec4ad9ffb6784c1a417e395427d46621a87 | |
parent | 98216ba79cb8a66ade2c975f313b9fae5bdce94c [diff] |
Final prep for 1.0.0 release (#37)
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();