An open API service indexing awesome lists of open source software.

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

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:**

![Screen](/screens/1.png?raw=true "Screen")