{"id":18145079,"url":"https://github.com/matchachoco010/ggez_zip_read_dir_test","last_synced_at":"2026-06-22T12:31:20.264Z","repository":{"id":79776778,"uuid":"441604748","full_name":"MatchaChoco010/ggez_zip_read_dir_test","owner":"MatchaChoco010","description":"test of ggez's read_dir methods","archived":false,"fork":false,"pushed_at":"2021-12-25T04:45:31.000Z","size":4838,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-09T23:02:58.032Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MatchaChoco010.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,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T04:39:11.000Z","updated_at":"2021-12-25T04:45:33.000Z","dependencies_parsed_at":"2023-04-25T02:47:23.492Z","dependency_job_id":null,"html_url":"https://github.com/MatchaChoco010/ggez_zip_read_dir_test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MatchaChoco010/ggez_zip_read_dir_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fggez_zip_read_dir_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fggez_zip_read_dir_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fggez_zip_read_dir_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fggez_zip_read_dir_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatchaChoco010","download_url":"https://codeload.github.com/MatchaChoco010/ggez_zip_read_dir_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fggez_zip_read_dir_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34649816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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-01T20:07:17.913Z","updated_at":"2026-06-22T12:31:20.247Z","avatar_url":"https://github.com/MatchaChoco010.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ggez zip `read_dir()` test\n\nMy environments:\n- Windows 11 Pro\n- stable-x86_64-pc-windows-msvc (default) rustc 1.57.0 (f1edd0429 2021-11-29)\n- ggez v0.7.0 (https://github.com/ggez/ggez?branch=devel#56fc4ac3)\n\n---\n\nThe source code that uses the filesystem is as follows:\n\n```rust\nimpl MyGame {\n    pub fn new(ctx: \u0026mut Context) -\u003e MyGame {\n        let mut images = vec![];\n\n        let exist_img = filesystem::exists(ctx, \"/images/baboon.png\");\n        println!(\"Is exists /images/baboon.png : {}\", exist_img);\n\n        for p in filesystem::read_dir(ctx, \"/images/\").unwrap() {\n            println!(\"{:?}\", p);\n            let image = Image::new(ctx, p).unwrap();\n            images.push(image);\n        }\n\n        MyGame { _images: images }\n    }\n}\n```\n\nAnd the hierarchy of the resources directory is as follows:\n\n```\n/resources/\n└─ images/\n    └─ baboon.png\n```\n\nThis executable should be outputs like this:\n\n```\nIs exists /images/baboon.png : true\n\"/images/baboon.png\"\n```\n\nIf you run `test_no_zip/ggez_zip_read_dir_test.exe`, you get outputs like this correctly:\n\n![](2021-12-25-13-34-22.png)\n\nBut, if you run `test_zip/ggez_zip_read_dir_test.exe`, you get outputs like this incorrectly:\n\n![](2021-12-25-13-35-46.png)\n\nThis is due to the fact that `read_dir()` for zip files is not working properly on Windows 11.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fggez_zip_read_dir_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatchachoco010%2Fggez_zip_read_dir_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fggez_zip_read_dir_test/lists"}