{"id":15723229,"url":"https://github.com/britzl/defold-lfs","last_synced_at":"2025-05-07T14:31:25.838Z","repository":{"id":63736112,"uuid":"94083814","full_name":"britzl/defold-lfs","owner":"britzl","description":"LuaFileSystem port to a Defold native extension","archived":false,"fork":false,"pushed_at":"2024-12-24T23:21:51.000Z","size":110,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T11:01:38.532Z","etag":null,"topics":["defold","defold-library","luafilesystem"],"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/britzl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-12T10:25:10.000Z","updated_at":"2024-12-24T23:16:36.000Z","dependencies_parsed_at":"2024-06-11T06:47:12.347Z","dependency_job_id":"2f924b6a-5253-440f-a465-a4770d2b695b","html_url":"https://github.com/britzl/defold-lfs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-lfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-lfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-lfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-lfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/britzl","download_url":"https://codeload.github.com/britzl/defold-lfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252895471,"owners_count":21821166,"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":["defold","defold-library","luafilesystem"],"created_at":"2024-10-03T22:10:44.925Z","updated_at":"2025-05-07T14:31:25.816Z","avatar_url":"https://github.com/britzl.png","language":"C","funding_links":[],"categories":["Libraries"],"sub_categories":["Programming Language"],"readme":"# Defold-LFS\nThis is a [Defold](https://www.defold.com) native extension for the [LuaFileSystem](http://keplerproject.github.io/luafilesystem/) library.\n\n## System requirements\nThe extension does not support HTML5 but works on all other platforms where native extensions is currently supported.\n\n## Installation\nYou can use Defold-LFS in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:\n\n\thttps://github.com/britzl/defold-lfs/archive/master.zip\n\nOr point to the ZIP file of a [specific release](https://github.com/britzl/defold-lfs/releases).\n\n## Usage\nOnce you have Defold-LFS added to your project you can use lfs just like you would normally use it. Please refer to the [LuaFileSystem reference](https://lunarmodules.github.io/luafilesystem/manual.html#reference) for full usage instructions. Brief API overview:\n\n\tlfs.attributes (filepath [, aname | atable])\n\tlfs.chdir (path)\n\tlfs.lock_dir(path, [seconds_stale])\n\tlfs.currentdir ()\n\titer, dir_obj = lfs.dir (path)\n\tlfs.lock (filehandle, mode[, start[, length]])\n\tlfs.link (old, new[, symlink])\n\tlfs.mkdir (dirname)\n\tlfs.rmdir (dirname)\n\tlfs.setmode (file, mode)\n\tlfs.symlinkattributes (filepath [, aname])\n\tlfs.touch (filepath [, atime [, mtime]])\n\tlfs.unlock (filehandle[, start[, length]])\n\n## Example\nThere's an example in the examples folder showing a file browser implemented using Defold-LFS.\n\n## Credits\n Graphics in example by [Kenney](http://www.kenney.nl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fdefold-lfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbritzl%2Fdefold-lfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fdefold-lfs/lists"}