{"id":28188849,"url":"https://github.com/toro-nicolas/my_ls","last_synced_at":"2025-07-13T09:34:19.227Z","repository":{"id":221679742,"uuid":"751016160","full_name":"toro-nicolas/my_ls","owner":"toro-nicolas","description":"Reproduction of the linux command \"ls\" in C.","archived":false,"fork":false,"pushed_at":"2024-06-04T23:02:55.000Z","size":504,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T15:05:21.590Z","etag":null,"topics":["bash","c","epitech","linux-command","ls"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toro-nicolas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-31T19:12:28.000Z","updated_at":"2024-06-04T01:11:50.000Z","dependencies_parsed_at":"2024-02-09T12:59:56.877Z","dependency_job_id":null,"html_url":"https://github.com/toro-nicolas/my_ls","commit_stats":null,"previous_names":["toro-nicolas/my_ls"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toro-nicolas/my_ls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toro-nicolas%2Fmy_ls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toro-nicolas%2Fmy_ls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toro-nicolas%2Fmy_ls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toro-nicolas%2Fmy_ls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toro-nicolas","download_url":"https://codeload.github.com/toro-nicolas/my_ls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toro-nicolas%2Fmy_ls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265120569,"owners_count":23714492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","c","epitech","linux-command","ls"],"created_at":"2025-05-16T09:12:22.431Z","updated_at":"2025-07-13T09:34:19.204Z","avatar_url":"https://github.com/toro-nicolas.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# my_ls 🗂️\n\n![my_ls](https://github.com/toro-nicolas/my_ls/assets/146118419/37edd31b-7d4d-4b5b-8734-09a243f86f6e)\n\n### Table of contents 📑\n- [Project goal](https://github.com/toro-nicolas/my_ls#project-goal-)\n- [How to compile it ?](https://github.com/toro-nicolas/my_ls#how-to-compile-it--)\n- [How to use it ?](https://github.com/toro-nicolas/my_ls#how-to-use-it--)\n- [Final result on my.epitech.eu](https://github.com/toro-nicolas/my_ls#final-result-on-myepitecheu-)\n\n### Project goal 🎯\nReproduction of the linux command \"ls\" in C.    \nThis program lists the files in a folder.    \nThe following flags are supported:    \n- **a :** to display hidden files    \n- **l :** to display all file information (size, date, ...)    \n- **R :** to display all files recursively    \n- **d :** to display only selected files and folders    \n- **t :** to sort by order of modification    \n- **r :** to sort in reverse order    \n\n### How to compile it ? 🛠️\nMake the game :\n```shell\nmake\n```\n\nMake the libs :\n```shell\nmake libs\n```\n\nRe make the game :\n```shell\n# This command will deleted all the compiled files\nmake re\n```\n\nRemove all compiled files (*.o) :\n```shell\nmake clean\n```\n\n\u003cp\u003eRemove all compiled files (*.o), all compiled libs (*.a), all unit tests and program executable  :\u003c/p\u003e\n\n```shell\nmake fclean\n```\n\nMake a unit_tests file :\n```shell\nmake unit_tests\n```\n\nMake and run a unit_tests file with the coverage :\n```shell\nmake tests_run\n```\n\n### How to use it ? 💻\nUsage :\n```Shell\n./my_ls [-alRdrt] [FILE]\n```\n\n### Final result on my.epitech.eu 🚩\n|                             Test name                              | Status |\n|:------------------------------------------------------------------:|:------:|\n|                      Empty directory listing                       |   ✅    |\n|                       Multiple file listing                        |   ✅    |\n|                  Sanity check 2 - error handling                   |   ✅    |\n|                  Sanity check 2 - error handling                   |   ✅    |\n|                        Single file listing                         |   ✅    |\n|                     Access rights on directory                     |   ✅    |\n|                   Access rights on regular file                    |   ✅    |\n|                                Date                                |   ✅    |\n|                             File size                              |   ✅    |\n|                  No access right on regular file                   |   ✅    |\n|                             Sticky bit                             |   ✅    |\n|                           UID resolving                            |   ✅    |\n|                       Recursive file listing                       |   ✅    |\n|          Recursive listing (-lR) , testing access rights           |   ✅    |\n| Recursive listing including hidden file (-l -R), separated options |   ✅    |\n|           Recursive listing including hidden file (-lR)            |   ✅    |\n|                          Time sorting #1                           |   ✅    |\n|                          Time sorting #2                           |   ✅    |\n|                    Testing device type \u0026 major                     |   ✅    |\n\nI obtained **100%** with **99% lines** and **90%** branches in the last test.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoro-nicolas%2Fmy_ls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoro-nicolas%2Fmy_ls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoro-nicolas%2Fmy_ls/lists"}