lfs

package module
v0.0.0-...-d5fb285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Unlicense Imports: 5 Imported by: 7

README

gopher-lfs GoDoc

Package lfs partially implements the luafilesystem module for gopher-lua.

License

Public domain.

Documentation

Overview

Package lfs partially implements the luafilesystem module for gopher-lua.

Documentation

See http://keplerproject.github.io/luafilesystem/manual.html

Example

Below is an example usage of the library:

L := lua.NewState()
lfs.Preload(L)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preload

func Preload(L *lua.LState)

Preload adds lfs to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:

local lfs = require("lfs")

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL