commit | 98216ba79cb8a66ade2c975f313b9fae5bdce94c | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Jan 05 15:52:21 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 05 15:52:21 2017 -0800 |
tree | d84725dc49d4056b7c39edec3353f90e6370717c | |
parent | f8a100aef4089197f863d0f988972d0455bf2dde [diff] |
Prepare for 1.0.0 release (#36)
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();