io_extra 0.1.0 copy "io_extra: ^0.1.0" to clipboard
io_extra: ^0.1.0 copied to clipboard

discontinued
Dart 1 only

Extra io utilities for dartlang. Copy, Move, etc.

example/example.dart

import 'dart:io';

import 'package:path/path.dart' as path;
import 'package:io_extra/io_extra.dart' as extra;

main() async {
  // File -> File
  extra.copySync('README.md', path.join('playground', 'targetFolder', 'target.md'));

  // File -> Folder
  await extra.copy('README.md', path.join('playground', 'basePath', 'targetFolder'));

  // Folder -> Folder
  extra.copySync('sourceFolder', path.join('playground', 'basePath', 'not_exists_folder'));
}
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Extra io utilities for dartlang. Copy, Move, etc.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

path

More

Packages that depend on io_extra