commit | 928289ae634cd7af5622cb0ec2326ffad50793e3 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Thu Mar 01 10:32:35 2018 -0800 |
committer | GitHub <noreply@github.com> | Thu Mar 01 10:32:35 2018 -0800 |
tree | 382a76d1d24f41f299dd6c9dfadf957119da1e05 | |
parent | 6588d244dd665a06031d09f6fa5c26172cb1f756 [diff] |
Bump version to 2.3.7 (dart-lang/file#75)
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();