{"id":18473417,"url":"https://github.com/0xopenbytes/disk","last_synced_at":"2025-05-13T00:46:12.763Z","repository":{"id":130053402,"uuid":"610525857","full_name":"0xOpenBytes/Disk","owner":"0xOpenBytes","description":"💾 Output and Input for Files","archived":false,"fork":false,"pushed_at":"2023-03-07T00:38:04.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T00:46:05.633Z","etag":null,"topics":["disk","file","filemanager","localstorage","swift"],"latest_commit_sha":null,"homepage":"https://0xopenbytes.github.io/Disk/","language":"Swift","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/0xOpenBytes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T00:16:23.000Z","updated_at":"2023-03-07T23:21:20.000Z","dependencies_parsed_at":"2023-04-07T07:39:17.078Z","dependency_job_id":null,"html_url":"https://github.com/0xOpenBytes/Disk","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/0xOpenBytes%2FDisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FDisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FDisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FDisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOpenBytes","download_url":"https://codeload.github.com/0xOpenBytes/Disk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850875,"owners_count":21973671,"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":["disk","file","filemanager","localstorage","swift"],"created_at":"2024-11-06T10:24:49.843Z","updated_at":"2025-05-13T00:46:12.744Z","avatar_url":"https://github.com/0xOpenBytes.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disk\n\nDisk is a convenience typealias for `o.file` that represents a file system disk. It provides easy access to the file system and its manipulation operations.\n\n## Usage\n\nHere are some examples of how you can use Disk:\n\n```swift\n// Read the contents of a file\nlet data = try Disk.data(filename: \"file.txt\")\n\n// Write a string to a file\ntry Disk.out(\"Hello, world!\", filename: \"greeting.txt\")\n\n// Delete a file\ntry Disk.delete(filename: \"file.txt\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fdisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xopenbytes%2Fdisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fdisk/lists"}