Mati365 / posix-tree

Tree style like file listing written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

posix-tree

Simple header only lib that allows to print folder content in UNIX tree like form.

Example

  struct tree_print_flags flags = {
    .print_full_path = true,
    .dir_only = false,
    .follow_symlinks = true,
    .max_level = 3,
  };

  tree_print(".", &flags);

output:
Screen

About

Tree style like file listing written in C


Languages

Language:C 100.0%