fs-walk

Crates.iofs-walk
lib.rsfs-walk
version0.1.2
sourcesrc
created_at2024-09-04 21:13:56.096121
updated_at2024-11-14 13:40:31.711267
descriptionFile-system walking crate
homepage
repositoryhttps://github.com/qjerome/fs-walk
max_upload_size
id1363812
size50,804
Quentin JEROME (qjerome)

documentation

https://docs.rs/fs-walk

README

GitHub Actions Workflow Status Crates.io Version docs.rs

fs_walk is a crate providing functionalities to walk a file-system recursively using std Rust APIs.

This crate currently supports:

  • depth configuration
  • results chunking to feed any batch processing routine
  • result selection (only files, only dirs, by extension)

Example

use fs_walk;

let o = fs_walk::WalkOptions::new()
    // we want to walk only files
    .files()
    // we want files with .o extension
    .extension("o");

assert!(o.walk("./").count() > 0);
Commit count: 10

cargo fmt