Skip to content

Wittiest/ft_ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_ls

I've recreated the ls shell command including the -R flag to recursively descend directories

I used a n-ary tree structure that allows my performance to be quicker than the system ls in many cases.

The node insertion for the children of each node is done with an O(n) time max, when n is the size of the list of children.

I ensured that all memory was freed during the sorting process, allowing my LS to descend enormous directories with no difficulty.

About

Recreate functionality of shell command ls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published