List files using rust
Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
LICENSE
README.md

README.md

rs-ls

List files using rust

A small project to learn rust through practice.

In this code, I will try to replicate the ls -l command from unix.

Output

cargo run

total  128
1   ./.DS_Store      6148    Oct 29 21:46
2   ./.git           510     Oct 30 21:37
3   ./.gitignore     341     Oct 16 14:33
4   ./Cargo.lock     4608    Oct 17 00:43
5   ./Cargo.toml     133     Oct 17 00:43
6   ./LICENSE        35141   Oct 16 14:33
7   ./README.md      151     Oct 16 16:26
8   ./src            136     Oct 16 14:33
9   ./target         102     Oct 16 00:27