{"id":13344119,"url":"https://github.com/starwing/lua-physfs","last_synced_at":"2025-04-27T16:32:07.571Z","repository":{"id":53882112,"uuid":"83166832","full_name":"starwing/lua-physfs","owner":"starwing","description":"physfs binding for Lua.","archived":false,"fork":false,"pushed_at":"2023-11-24T17:20:52.000Z","size":970,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:32:13.332Z","etag":null,"topics":["lua","physfs","zip"],"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/starwing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2017-02-25T22:20:38.000Z","updated_at":"2024-10-28T18:55:54.000Z","dependencies_parsed_at":"2024-10-24T07:04:46.868Z","dependency_job_id":"f9ed5a5f-e9f1-48ba-88a9-856004a1f486","html_url":"https://github.com/starwing/lua-physfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwing%2Flua-physfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwing%2Flua-physfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwing%2Flua-physfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwing%2Flua-physfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starwing","download_url":"https://codeload.github.com/starwing/lua-physfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251171447,"owners_count":21547112,"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":["lua","physfs","zip"],"created_at":"2024-07-29T19:32:27.682Z","updated_at":"2025-04-27T16:32:07.122Z","avatar_url":"https://github.com/starwing.png","language":"C","readme":"physfs binding for Lua\n----------------------\n[![Build Status](https://img.shields.io/github/actions/workflow/status/starwing/lua-physfs/test.yml?branch=master)](https://github.com/starwing/lua-physfs/actions?query=branch%3Amaster)[![Coverage Status](https://img.shields.io/coveralls/github/starwing/lua-physfs)](https://coveralls.io/github/starwing/lua-physfs?branch=master)\n\nlua-physfs is a [physfs][1] binding for the Lua language. it expose\nmost physfs API, except the `mountIo()` and `register()` routines.\n\n[1]: https://github.com/icculus/physfs\n[2]: https://luarocks.org\n\nPhysicsFS is a library to provide abstract access to various archives. \n\nto use this binding, easiest way is use [luarocks][2]:\n\n```\nluarocks install physfs\n```\n\nthis library is in Lua license, same as the Lua language.\n\nAPI List\n-------------\n\n- physfs.File:\n  - `#file                         -\u003e number|error`\n  - `file:buffSize(number)         -\u003e file|(nil, errmsg)`\n  - `file:close()                  -\u003e file|(nil, errmsg)`\n  - `file:eof()                    -\u003e boolean`\n  - `file:flush()                  -\u003e file|(nil, errmsg)`\n  - `file:length()                 -\u003e number|(nil, errmsg)`\n  - `file:read(fmt...)             -\u003e (nil|number|string)...`\n  - `file:seek(number)             -\u003e file|(nil, errmsg)`\n  - `file:tell()                   -\u003e number|(nil, errmsg)`\n  - `file:write(string...)         -\u003e file|(nil, errmsg)`\n  - `file:writeInt(fmt, number...) -\u003e file|(nil, errmsg)`\n  - `tostring(file)                -\u003e string`\n\n- `physfs.cdRomDirs([table])        -\u003e table, number`\n- `physfs.convInt(fmt, number...)   -\u003e number...`\n- `physfs.delete(string)            -\u003e string|(nil, errmsg)`\n- `physfs.exists(string)            -\u003e boolean`\n- `physfs.files(string[, table])    -\u003e table, number`\n- `physfs.lastError()               -\u003e string`\n- `physfs.lastError(string)         -\u003e none`\n- `physfs.mkdir(string)             -\u003e string|(nil, errmsg)`\n- `physfs.mount(name[, point[, preppend]]) -\u003e name|(nil, errmsg)`\n- `physfs.mountFile(file[, name[, point[, preppend]]]) -\u003e file|(nil, errmsg)`\n- `physfs.mountMemory(string[, name[, point[, preppend]]]) -\u003e string|(nil, errmsg)`\n- `physfs.mountPoint(string)        -\u003e string`\n- `physfs.openAppend(string)        -\u003e file|(nil, errmsg)`\n- `physfs.openRead(string)          -\u003e file|(nil, errmsg)`\n- `physfs.openWrite(string)         -\u003e file|(nil, errmsg)`\n- `physfs.prefDir(org, app)         -\u003e org|(nil, errmsg)`\n- `physfs.realDir(string)           -\u003e string`\n- `physfs.saneConfig(org, app[, ext[, includeCdRoms[, archiveFirst]]]) -\u003e org|(nil, errmsg)`\n- `physfs.searchPath([table])       -\u003e table, number`\n- `physfs.stat(string[, table])     -\u003e table`\n- `physfs.supportedArchiveTypes([table]) -\u003e table, number`\n- `physfs.unmount(string)           -\u003e string|(nil, errmsg)`\n- `physfs.useSymlink()              -\u003e boolean`\n- `physfs.useSymlink(boolean)       -\u003e none`\n- `physfs.version()                 -\u003e number, number, number`\n- `physfs.writeDir()                -\u003e string`\n- `physfs.writeDir(string)          -\u003e string|(nil, errmsg)`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwing%2Flua-physfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarwing%2Flua-physfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwing%2Flua-physfs/lists"}