@@ -63,7 +63,7 @@ static int dir_iter(lua_State* L)
|
|||||||
for fname in dir(".") do
|
for fname in dir(".") do
|
||||||
print(fname)
|
print(fname)
|
||||||
end
|
end
|
||||||
|
```
|
||||||
*/
|
*/
|
||||||
int luaDir(lua_State* L)
|
int luaDir(lua_State* L)
|
||||||
{
|
{
|
||||||
@@ -116,7 +116,7 @@ int luaDir(lua_State* L)
|
|||||||
size = info.size
|
size = info.size
|
||||||
time = info.time
|
time = info.time
|
||||||
end
|
end
|
||||||
|
```
|
||||||
@status current Introduced in 2.5.0
|
@status current Introduced in 2.5.0
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@@ -166,7 +166,7 @@ int luaFstat(lua_State* L)
|
|||||||
else
|
else
|
||||||
-- failed to delete file
|
-- failed to delete file
|
||||||
end
|
end
|
||||||
|
```
|
||||||
*/
|
*/
|
||||||
int luaDelete(lua_State* L)
|
int luaDelete(lua_State* L)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user