Comments (2)
@webdesus I guessed so from reading the source code.
I do think that in addition to adding a documentation, you should change return type of this function to a named struct with descriptive fields, so that IDE user may not need to actually open documentation to understand what it means, for example:
pub struct CopyReturn {
pub bytes_copied: usize,
pub files_copied: usize,
}
from fs_extra.
@KSXGitHub total number of bytes copied
from fs_extra.
Related Issues (20)
- Open to adding builder methods for CopyOptions?
- Problematic move
- Some questions regarding this crate HOT 2
- Make a point release HOT 1
- Add exclude paths in CopyOptions
- Directory copy different behavior
- Errors in `fs_extra` are different than in `std::fs`
- Is this crate still maintained HOT 6
- `dir::get_size` returns wrong size for symlinks HOT 1
- `dir::copy` does not preserve symlinked directories HOT 3
- Data loss when moving directory on Windows HOT 4
- No such file or directory (os err or 2) HOT 1
- Request: reflink HOT 1
- New release? HOT 2
- many test failures in tests/dir.rs on Linux HOT 6
- Documentation mismatch for fs_extra::file::move_file_with_progress
- race condition with recursive copy HOT 1
- Add Option for Sequential Naming while File Copying
- support dereference
- remove_items silently fails on broken symlinks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs_extra.