{"id":29120970,"url":"https://github.com/unity-package/disk-space-checker-unity","last_synced_at":"2025-06-29T15:38:23.516Z","repository":{"id":299749377,"uuid":"1004053578","full_name":"unity-package/disk-space-checker-unity","owner":"unity-package","description":"Check disk space for unity (Android \u0026 iOS)","archived":false,"fork":false,"pushed_at":"2025-06-18T04:34:03.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-18T05:32:05.348Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unity-package.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,"zenodo":null}},"created_at":"2025-06-18T03:49:01.000Z","updated_at":"2025-06-18T04:33:17.000Z","dependencies_parsed_at":"2025-06-18T05:32:10.323Z","dependency_job_id":"8f653909-ecb3-445d-8e08-a82cdc1a93c7","html_url":"https://github.com/unity-package/disk-space-checker-unity","commit_stats":null,"previous_names":["unity-package/disk-space-checker-unity"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/unity-package/disk-space-checker-unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unity-package%2Fdisk-space-checker-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unity-package%2Fdisk-space-checker-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unity-package%2Fdisk-space-checker-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unity-package%2Fdisk-space-checker-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unity-package","download_url":"https://codeload.github.com/unity-package/disk-space-checker-unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unity-package%2Fdisk-space-checker-unity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262621426,"owners_count":23338660,"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":"2025-06-29T15:38:22.226Z","updated_at":"2025-06-29T15:38:23.475Z","avatar_url":"https://github.com/unity-package.png","language":"C#","readme":"## How To Install\n\n### Add the line below to `Packages/manifest.json`\n\nfor version `1.0.0`\n```json\n\"com.unity-package.disk-space-checker\":\"https://github.com/unity-package/disk-space-checker-unity.git#1.0.0\",\n```\n\n## Use\n\n- Example usage script:\n\n```csharp\n    public void CheckDisk() {\n        long freeSpace = DiskSpaceCheck.GetAvailableDiskSize();\n        float freeSpaceMB = DiskSpaceCheck.GetAvailableDiskSizeInMB();\n        float freeSpaceGB = DiskSpaceCheck.GetAvailableDiskSizeInGB();\n        Debug.Log($\"free space available on disk: {freeSpace} / {freeSpaceMB} MB / {freeSpaceGB}.\");\n    }\n```\n\n## Test results\n\n- Check logcat: \n\n![Screenshot 2025-06-18 114102](https://github.com/user-attachments/assets/103a5467-9412-48cc-b50a-e10f531b35bd)\n\n- Check disk by PC:\n\n![Screenshot 2025-06-18 114201](https://github.com/user-attachments/assets/8e9e7556-8043-445a-a63d-5022999d4d2b)\n\n- Check disk by device:\n\n![Image_20250618_114503_683](https://github.com/user-attachments/assets/75bcd8d9-9153-422a-9dd5-671683c59632)\n\n\n- Note:\n\n```\nMaybe the way each OS calculates memory is different so there is a small difference.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-package%2Fdisk-space-checker-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funity-package%2Fdisk-space-checker-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-package%2Fdisk-space-checker-unity/lists"}