commit | 0a1e3718b0b0de40a398163f0e58053f776894d5 | [log] [tgz] |
---|---|---|
author | Martin Geisler <mgeisler@google.com> | Wed Nov 15 12:41:14 2023 +0100 |
committer | Martin Geisler <mgeisler@google.com> | Thu Nov 23 16:22:19 2023 +0000 |
tree | 6d0bd3f0e60bade2ff5f5e1e3b767cfb56bf7886 | |
parent | 5cc03c52ffdbeab93f5c4804f0a3b7140fd3353b [diff] |
Import 'termtree' crate Request Document: go/android-rust-importing-crates For CL Reviewers: go/android3p#cl-review For Build Team: go/ab-third-party-imports Bug: 310599809 Change-Id: I378c73f5ec655caccd8c55ea462200c6b376484d Test: atest termtree_test_src_lib
Visualize tree-like data on the command-line
An example program is provided under the “examples” directory to mimic the tree(1)
linux program
$ cargo run --example tree target Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs Running `target/debug/examples/tree target` target └── debug ├── .cargo-lock ├── .fingerprint | └── termtree-21a5bdbd42e0b6da | ├── dep-example-tree | ├── dep-lib-termtree | ├── example-tree | ├── example-tree.json | ├── lib-termtree | └── lib-termtree.json ├── build ├── deps | └── libtermtree.rlib ├── examples | ├── tree | └── tree.dSYM | └── Contents | ├── Info.plist | └── Resources | └── DWARF | └── tree ├── libtermtree.rlib └── native
treeline
: termtree was forked from this.tree_decorator
xtree
ptree
Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)