https://github.com/mati365/posix-tree
Tree style like file listing written in C
https://github.com/mati365/posix-tree
lib linux posix so tree zut
Last synced: about 1 year ago
JSON representation
Tree style like file listing written in C
- Host: GitHub
- URL: https://github.com/mati365/posix-tree
- Owner: Mati365
- Created: 2019-03-31T13:27:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T12:31:58.000Z (about 7 years ago)
- Last Synced: 2025-03-25T23:51:22.389Z (about 1 year ago)
- Topics: lib, linux, posix, so, tree, zut
- Language: C
- Size: 68.4 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# posix-tree
Simple header only lib that allows to print folder content in UNIX tree like form.
### Example
```c
struct tree_print_flags flags = {
.print_full_path = true,
.dir_only = false,
.follow_symlinks = true,
.max_level = 3,
};
tree_print(".", &flags);
```
**output:**
