dircnt

Crates.iodircnt
lib.rsdircnt
version1.0.2
sourcesrc
created_at2022-10-17 20:49:50.544233
updated_at2023-12-25 21:25:07.002211
descriptionCount directory entries faster than `ls -f | wc -l`
homepage
repositoryhttps://github.com/dtolnay/dircnt
max_upload_size
id690389
size17,195
Lanthanum (github:zxtn:lanthanum)

documentation

https://docs.rs/dircnt

README

dircnt

github crates.io build status

Count directory entries faster than ls -f | wc -l.

Installation

$ cargo install dircnt

Usage

$ dircnt path/to/dir
63496110

Like ls | wc -l but unlike ls -f | wc -l, the special directory entries . and .. are excluded from the count.


License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 33

cargo fmt