commit | befdc6e373ce5b74e597b831601cbb887779e516 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Tue Jul 11 15:07:12 2017 -0700 |
committer | GitHub <noreply@github.com> | Tue Jul 11 15:07:12 2017 -0700 |
tree | c2f15f7d7fdb5fa810be42c18b210fb0b50b7abd | |
parent | 6ecf967b7def868e26ce6eef3e66437b1e6c2b11 [diff] |
Relax version requirements on `package:intl` (#59)
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();