An open API service indexing awesome lists of open source software.

https://github.com/glebbatykov/file_copy

Package for copy files and directories. Can track the progress of copying.
https://github.com/glebbatykov/file_copy

copy dart directory file progress

Last synced: about 2 months ago
JSON representation

Package for copy files and directories. Can track the progress of copying.

Awesome Lists containing this project

README

        

[![pub package](https://img.shields.io/pub/v/file_copy.svg?label=file_copy&color=blue)](https://pub.dev/packages/file_copy)

**Languages:**

[![English](https://img.shields.io/badge/Language-English-blue?style=?style=flat-square)](README.md)
[![Russian](https://img.shields.io/badge/Language-Russian-blue?style=?style=flat-square)](README.ru.md)

- [Package features](#package-features)
- [Using](#using)

# Package features

- copying files;
- recursive copying of directories;
- monitor the progress of copying.

# Using

The `CopyFile` class contains methods:

- `copyFile` - copies the file;
- `watchCopyFile` - copies the file, returns the stream with the progress of copying the file, ends the stream when copying is completed;
- `copyDirectory` - copies the directory recursively;
- `watchCopyDirectory` - copies the directory, returns the stream with the progress of copying the file, ends the stream when copying is completed;
- `copyLink` - copies the link.