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

discontinued
outdatedDart 1 only

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

io_extra #

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

Work in progress. Check the dev branch to see the newest commits.

Important #

  • All links are skipped.
  • All non-exists target folders would be created.
  • All exists targets (file or folder) would be overwritten.

Usage #

import 'dart:async';
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('targetFolder', 'target.md'));

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

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

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path

More

Packages that depend on io_extra