commit | 80218072079137d2d3dbd8033b67140756d2828e | [log] [tgz] |
---|---|---|
author | Dan Rubel <danrubel@google.com> | Mon Mar 05 11:21:08 2018 -0500 |
committer | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Mar 05 08:21:08 2018 -0800 |
tree | 6d2b02955ca78e570867d35bff48301233b6e5b6 | |
parent | 273a1e7808290a1590d332f2db1e3425406c864d [diff] |
Rename .analysis_options to analysis_options.yaml (#76)
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();