Skip to content

hugohow/ft_ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_ls

Build Status

ft_ls -RulrSlg ~/ works perfectly and has exactly the same beahaviour than ls.

Implementation of balanced binary tree (avl tree) to get good performance on recursive call.

Consideration of all edge cases (different permission mode with ACL, setuid, setgid, dirty bit ; different type of file like symlink, pipe, character, ...)

No memory leaks. (Valgrind certified)

TO DO

Add make test for linux

Usage

usage: ./ft_ls [-RGUSagilortu1] [file ...]

OSX :

make re
./ft_ls

Linux :

sudo apt-get install -y libc6-dev libacl1-dev
make re
./ft_ls

About

Implementation of ls based on avl tree

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published