fs_shim 0.9.0 fs_shim: ^0.9.0 copied to clipboard
A portable file system implementation working on io, browser and memory (through idb_shim)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fs_shim
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fs_shim: ^0.9.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fs_shim/fs.dart';
import 'package:fs_shim/fs_idb.dart';
import 'package:fs_shim/fs_io.dart';
import 'package:fs_shim/fs_memory.dart';
import 'package:fs_shim/fs_none.dart';
import 'package:fs_shim/utils/copy.dart';
import 'package:fs_shim/utils/entity.dart';
import 'package:fs_shim/utils/glob.dart';
import 'package:fs_shim/utils/io/copy.dart';
import 'package:fs_shim/utils/io/entity.dart';
import 'package:fs_shim/utils/io/read_write.dart';
import 'package:fs_shim/utils/part.dart';
import 'package:fs_shim/utils/path.dart';
import 'package:fs_shim/utils/read_write.dart';
import 'package:fs_shim/utils/src/utils_impl.dart';