dircpy-stable

Crates.iodircpy-stable
lib.rsdircpy-stable
version0.3.5
sourcesrc
created_at2021-03-08 00:28:39.311205
updated_at2021-03-08 00:28:39.311205
descriptionCopy directories recursively with flexible options. Runs on the stable channel.
homepage
repositoryhttps://github.com/lamka02sk/dircpy/
max_upload_size
id365433
size12,334
lamka02sk (lamka02sk)

documentation

README

dircpy

Crates.io license Docs Status build

Runs on the stable channel

A library to recursively copy directories, with some convenience added.

 use dircpy::*;

 // Most basic example:
 copy_dir("src", "dest");

 // Simple builder example:
CopyBuilder::new("src", "dest")
  .run()
  .unwrap();

 // Copy recursively, only including certain files:
CopyBuilder::new("src", "dest")
  .overwrite_if_newer(true)
  .overwrite_if_size_differs(true)
  .with_include_filter(".txt")
  .with_include_filter(".csv")
  .run()
  .unwrap();
  
Commit count: 29

cargo fmt