-
Notifications
You must be signed in to change notification settings - Fork 0
/
print_inodes.c
21 lines (19 loc) · 1.04 KB
/
print_inodes.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_inodes.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ylagtab <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/07 15:13:48 by mel-idri #+# #+# */
/* Updated: 2020/10/22 11:25:43 by ylagtab ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_ls.h"
void print_inodes(t_queue *inodes, int is_dir)
{
if (g_options[OPT_L] == 1)
print_inodes_longlist(inodes, is_dir);
else
print_inodes_default(inodes);
}