{"id":15497287,"url":"https://github.com/jwerle/isdir.c","last_synced_at":"2026-04-21T21:36:35.016Z","repository":{"id":19250095,"uuid":"22485470","full_name":"jwerle/isdir.c","owner":"jwerle","description":"Determine if path is a directory","archived":false,"fork":false,"pushed_at":"2014-07-31T21:24:21.000Z","size":140,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T01:18:04.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwerle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-31T21:20:43.000Z","updated_at":"2024-02-09T14:41:55.000Z","dependencies_parsed_at":"2022-08-01T04:17:57.119Z","dependency_job_id":null,"html_url":"https://github.com/jwerle/isdir.c","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fisdir.c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fisdir.c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fisdir.c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fisdir.c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwerle","download_url":"https://codeload.github.com/jwerle/isdir.c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243515525,"owners_count":20303258,"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":[],"created_at":"2024-10-02T08:32:34.813Z","updated_at":"2025-12-29T21:45:36.943Z","avatar_url":"https://github.com/jwerle.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"isdir ()\n======\n\nDetermine if path is a directory\n\n## install\n\n```sh\n$ clib install jwerle/isdir.c\n```\n\n## synopsis\n\n```c\n#include \u003cisdir/isdir.h\u003e\n\nint\nisdir (const char *);\n```\n\n## return values\n\nReturns `0` if `path` is a directory. Otherwise, `1` is returned.\n\n## example\n\n```c\nint\nmain (int argc, char **argv) {\n  return argc ? 1 isdir(argv[0]) : 1;\n}\n```\n\n## license\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fisdir.c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwerle%2Fisdir.c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fisdir.c/lists"}