{"id":18552861,"url":"https://github.com/oderwat/iwalkdeep","last_synced_at":"2025-08-31T10:37:36.107Z","repository":{"id":11966714,"uuid":"14539131","full_name":"oderwat/iwalkdeep","owner":"oderwat","description":"Go \"Iterator\" which walks directory entries in a bottom to top order","archived":false,"fork":false,"pushed_at":"2016-10-27T15:45:23.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-23T07:14:51.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oderwat.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":"2013-11-19T21:53:19.000Z","updated_at":"2016-10-27T15:45:24.000Z","dependencies_parsed_at":"2022-07-21T16:18:29.970Z","dependency_job_id":null,"html_url":"https://github.com/oderwat/iwalkdeep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oderwat/iwalkdeep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oderwat%2Fiwalkdeep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oderwat%2Fiwalkdeep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oderwat%2Fiwalkdeep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oderwat%2Fiwalkdeep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oderwat","download_url":"https://codeload.github.com/oderwat/iwalkdeep/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oderwat%2Fiwalkdeep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272971408,"owners_count":25024093,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-06T21:15:22.976Z","updated_at":"2025-08-31T10:37:36.087Z","avatar_url":"https://github.com/oderwat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iwalkdeep\n--\n    import \"github.com/oderwat/iwalkdeep\"\n\nThe package \"ideepwalk\" helps to iterates over all directories in a give path in\nbottom to top order. This is helpfull in many use cases where you for example\nwant to clean up empty directories after processing/moving files in the\nhierarchie.\n\nAs speciality the packaged exposes this functionality also as an easy to use\niterator like in the following example\n\n    for dir := range IWalkDeep(\"/homes\") {\n      fmt.print(dir)\n    }\n\n## Usage\n\n#### func  IWalkDeep\n\n```go\nfunc IWalkDeep(root string) \u003c-chan string\n```\nThis is the \"Iterator\" which can eaasily be used for dir := range\nIWalkDeep(path) {}\n\n#### func  WalkDeep\n\n```go\nfunc WalkDeep(root string, fun WalkDeepFunc)\n```\nWalk all directories in root from bottom to top calling WalkDeepFunc for every\nencountered directory\n\n#### type WalkDeepFunc\n\n```go\ntype WalkDeepFunc func(dir string)\n```\n\nThis function is called by WalkDeep for each directory on its way up to the root\nof the given path\n\n_(made with godocdown)_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foderwat%2Fiwalkdeep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foderwat%2Fiwalkdeep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foderwat%2Fiwalkdeep/lists"}