fs-walk

Crates.iofs-walk
lib.rsfs-walk
version0.1.1
sourcesrc
created_at2024-09-04 21:13:56.096121
updated_at2024-10-18 13:26:51.704814
descriptionFile-system walking crate
homepage
repositoryhttps://github.com/qjerome/fs-walk
max_upload_size
id1363812
size49,364
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: 7

cargo fmt