britzl
britzl/defold-lfs/lfs
File system manipulation library
- GitHub: britzl/defold-lfs — pinned to
1.3.0(released while Defold 1.9.6 was current)- Pick a release from britzl/defold-lfs releases and add its Source code (zip) URL (or a packaged
.zipasset, if the library ships one) togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Run
bunx @defold-typescript/cli resolveto materialize its types. - Import it under a namespace alias of your choice:
import * as lfs from "lfs"
- Pick a release from britzl/defold-lfs releases and add its Source code (zip) URL (or a packaged
- Asset Portal: defold-lfs
Functions
lfs.attributes(filepath: unknown, attributename: unknown)lfs.chdir(path: unknown)lfs.currentdir()lfs.dir(path: unknown)lfs.link(old: unknown, new: unknown, symlink: unknown)lfs.lock(fh: unknown, mode: unknown)lfs.lock_dir(path: unknown)lfs.mkdir(path: unknown)lfs.rmdir(path: unknown)lfs.setmode(filepath: unknown, mode: unknown)lfs.symlinkattributes(filepath: unknown, attributename: unknown)lfs.touch(filepath: unknown, atime: unknown, mtime: unknown)lfs.unlock(fh: unknown)
lfs.attributes(filepath: unknown, attributename: unknown)
Parameters
filepathattributename
lfs.chdir(path: unknown)
Parameters
path
lfs.currentdir()
lfs.dir(path: unknown)
Parameters
path
lfs.link(old: unknown, new: unknown, symlink: unknown)
Parameters
oldnewsymlink
lfs.lock(fh: unknown, mode: unknown)
Parameters
fhmode
lfs.lock_dir(path: unknown)
Parameters
path
lfs.mkdir(path: unknown)
Parameters
path
lfs.rmdir(path: unknown)
Parameters
path
lfs.setmode(filepath: unknown, mode: unknown)
Parameters
filepathmode
lfs.symlinkattributes(filepath: unknown, attributename: unknown)
Parameters
filepathattributename
lfs.touch(filepath: unknown, atime: unknown, mtime: unknown)
Parameters
filepathatimemtime
lfs.unlock(fh: unknown)
Parameters
fh