edge_io 0.0.1-dev.3 copy "edge_io: ^0.0.1-dev.3" to clipboard
edge_io: ^0.0.1-dev.3 copied to clipboard

IO implementations for Dart Edge.

Edge IO - Dart Edge #

This package (will eventually) contains a set of io adapters for use on Edge environments.

This package is currently in development and is not yet ready for use.

Usage #

Install the package:

dart pub add edge_io

Import the adapter you require, e.g. Memory:

import 'package:edge_io/memory.dart';

Override the io adapter:

import 'dart:io';
import 'package:edge_io/memory.dart';

void main() {
  final overrides = MemoryFsOverrides();
  IOOverrides.global = overrides;

  // Use io as normal, e.g.:
  final file = File('test.txt');
}
0
likes
70
pub points
0%
popularity

Publisher

verified publisherinvertase.io

IO implementations for Dart Edge.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, path

More

Packages that depend on edge_io