io_extra 0.0.1+1 io_extra: ^0.0.1+1 copied to clipboard
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.
How To Use #
Please note: All links are skipped. All non-exists folders would be created.
import 'package:io_extra/io_extra.dart';
import 'package:path/path.dart' as path;
main() {
// File <-> File
copySync('README.md', path.join('targetFolder', 'target.md'));
// File <-> Folder
copySync('README.md', path.join('targetFolder'));
// Folder <-> Folder
copySync('sourceFolder', path.join('yourBasePath', 'not_exists_target_folder'));
}