Commit a local file system, some updates.
9 files changed
tree: 82951f4e1e0a71030607704826c7f18c436ce381
  1. contrib/
  2. lib/
  3. test/
  4. .gitignore
  5. LICENSE
  6. pubspec.yaml
  7. README.md
README.md

File

A generic file system abstraction for Dart.

This package is currently experimental and subject to change

Like dart:io, package:file supplies a rich Dart idiomatic API for accessing a file system.

Unlike dart:io, package:file:

  • Has an entirely async public interface (no fooSync methods).
  • Has explicit factory classes for different implementations:
var inMemoryFS = new InMemoryFileSystem();
var file = inMemoryFS.file('/foo/bar');
  • Can be used to implement custom file systems:
class GoogleDriveFileSystem implements FileSystem { ... }

And much much more!