commit | 4aaaddf83841db1af15fe9b087e29158fa4993b3 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Tue Feb 21 16:07:20 2017 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 21 16:07:20 2017 -0800 |
tree | 06a07575884bf3cc2585f5347d9b68e3f87d2fc2 | |
parent | ce36d35fc64c4e0fcdc5b3fe616c8a569fec9e92 [diff] |
Remove superfluous `extends Object with ...` references (#41)
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();