commit | 38db2e85dba5a47af3f49daf263866db1164cf30 | [log] [tgz] |
---|---|---|
author | Matan Lurey <matanlurey@users.noreply.github.com> | Thu Jan 05 22:40:38 2017 -0500 |
committer | GitHub <noreply@github.com> | Thu Jan 05 22:40:38 2017 -0500 |
tree | cccc34b4c28e91b34a2fc3ae245c4ccc06c15ca1 | |
parent | ad06da8bd04cf897494eff8d9eb07931cef0a143 [diff] |
Update .analysis_options (#47) - Remove enableConditionalDirectives (Not needed) - Add a standard set of lint rules used in g3* *Two of them currently have a few errors in this project that need to be fixed up before enabling, but probably a good start.
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();