mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
keplerproject -> lunarmodules
This commit is contained in:
4
LICENSE
4
LICENSE
@@ -1,5 +1,5 @@
|
||||
Copyright © 2003-2014 Kepler Project.
|
||||
Copyright © 2014-2022 The LuaFileSystem authors.
|
||||
Copyright © 2003-2010 Kepler Project.
|
||||
Copyright © 2010-2022 The LuaFileSystem authors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[](LICENSE)
|
||||
[](https://github.com/keplerproject/luafilesystem/actions)
|
||||
[](https://github.com/lunarmodules/luafilesystem/actions)
|
||||
[](https://ci.appveyor.com/project/ignacio/luafilesystem)
|
||||
[](https://coveralls.io/r/keplerproject/luafilesystem)
|
||||
[](https://coveralls.io/r/lunarmodules/luafilesystem)
|
||||
|
||||
# LuaFileSystem - File System Library for Lua
|
||||
|
||||
https://keplerproject.github.io/luafilesystem
|
||||
https://lunarmodules.github.io/luafilesystem
|
||||
|
||||
# Description
|
||||
|
||||
@@ -23,4 +23,4 @@ luarocks install luafilesystem
|
||||
|
||||
# Documentation
|
||||
|
||||
Please check the at `docs/` for more information, also available at the [project website](https://keplerproject.github.io/luafilesystem).
|
||||
Please check the at `docs/` for more information, also available at the [project website](https://lunarmodules.github.io/luafilesystem).
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div id="product">
|
||||
<div id="product_logo">
|
||||
<a href="http://keplerproject.github.io/luafilesystem">
|
||||
<a href="http://lunarmodules.github.io/luafilesystem">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -44,10 +44,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><strong>Examples</strong></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Project</a>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
|
||||
<ul>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="license.html">License</a></li>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div id="product">
|
||||
<div id="product_logo">
|
||||
<a href="http://keplerproject.github.io/luafilesystem">
|
||||
<a href="http://lunarmodules.github.io/luafilesystem">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -44,10 +44,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="examples.html">Examples</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Project</a>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
|
||||
<ul>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="license.html">License</a></li>
|
||||
@@ -81,7 +81,7 @@ flavors of Unix (including Linux, BSDs, macOS) and Windows.</p>
|
||||
$ luarocks install luafilesystem
|
||||
</pre>
|
||||
|
||||
<p>Its source can be found at its <a href="http://github.com/keplerproject/luafilesystem">GitHub</a> page.</p>
|
||||
<p>Its source can be found at its <a href="http://github.com/lunarmodules/luafilesystem">GitHub</a> page.</p>
|
||||
|
||||
<h2><a name="history"></a>History</h2>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div id="product">
|
||||
<div id="product_logo">
|
||||
<a href="http://keplerproject.github.io/luafilesystem">
|
||||
<a href="http://lunarmodules.github.io/luafilesystem">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -44,10 +44,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="examples.html">Examples</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Project</a>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
|
||||
<ul>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><strong>License</strong></li>
|
||||
@@ -71,8 +71,8 @@ by many people -- see the Git history for detailed credits.
|
||||
The implementation is not derived from any other licensed software.</p>
|
||||
|
||||
<hr/>
|
||||
<p>Copyright © 2003 - 2014 Kepler Project.</p>
|
||||
<p>Copyright © 2014 - 2022 The LuaFileSystem authors.</p>
|
||||
<p>Copyright © 2003 - 2010 Kepler Project.</p>
|
||||
<p>Copyright © 2010 - 2022 The LuaFileSystem authors.</p>
|
||||
|
||||
<p>Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div id="product">
|
||||
<div id="product_logo">
|
||||
<a href="http://keplerproject.github.io/luafilesystem">
|
||||
<a href="http://lunarmodules.github.io/luafilesystem">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -44,10 +44,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="examples.html">Examples</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Project</a>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
|
||||
<ul>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
|
||||
<li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="license.html">License</a></li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package = "luafilesystem"
|
||||
version = "scm-1"
|
||||
source = {
|
||||
url = "git+https://github.com/keplerproject/luafilesystem"
|
||||
url = "git+https://github.com/lunarmodules/luafilesystem"
|
||||
}
|
||||
description = {
|
||||
summary = "File System Library for the Lua Programming Language",
|
||||
|
||||
23
src/lfs.c
23
src/lfs.c
@@ -1,23 +1,10 @@
|
||||
/*
|
||||
** LuaFileSystem
|
||||
** Copyright Kepler Project 2003 - 2020
|
||||
** (http://keplerproject.github.io/luafilesystem)
|
||||
** File system manipulation library
|
||||
**
|
||||
** File system manipulation library.
|
||||
** This library offers these functions:
|
||||
** lfs.attributes (filepath [, attributename | attributetable])
|
||||
** lfs.chdir (path)
|
||||
** lfs.currentdir ()
|
||||
** lfs.dir (path)
|
||||
** lfs.link (old, new[, symlink])
|
||||
** lfs.lock (fh, mode)
|
||||
** lfs.lock_dir (path)
|
||||
** lfs.mkdir (path)
|
||||
** lfs.rmdir (path)
|
||||
** lfs.setmode (filepath, mode)
|
||||
** lfs.symlinkattributes (filepath [, attributename])
|
||||
** lfs.touch (filepath [, atime [, mtime]])
|
||||
** lfs.unlock (fh)
|
||||
** Copyright (C) 2003-2010 Kepler Project.
|
||||
** Copyright (C) 2010-2022 The LuaFileSystem authors.
|
||||
** (http://lunarmodules.github.io/luafilesystem)
|
||||
*/
|
||||
|
||||
#ifndef LFS_DO_NOT_USE_LARGE_FILE
|
||||
@@ -1141,8 +1128,6 @@ static int link_info(lua_State * L)
|
||||
*/
|
||||
static void set_info(lua_State * L)
|
||||
{
|
||||
lua_pushliteral(L, "Copyright (C) 2003-2017 Kepler Project");
|
||||
lua_setfield(L, -2, "_COPYRIGHT");
|
||||
lua_pushliteral(L,
|
||||
"LuaFileSystem is a Lua library developed to complement "
|
||||
"the set of functions related to file systems offered by "
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
/*
|
||||
** LuaFileSystem
|
||||
** Copyright Kepler Project 2003 - 2020
|
||||
** (http://keplerproject.github.io/luafilesystem)
|
||||
** File system manipulation library
|
||||
**
|
||||
** Copyright (C) 2003-2010 Kepler Project.
|
||||
** Copyright (C) 2010-2022 The LuaFileSystem authors.
|
||||
** (http://lunarmodules.github.io/luafilesystem)
|
||||
*/
|
||||
|
||||
/* Define 'chdir' for systems that do not implement it */
|
||||
|
||||
Reference in New Issue
Block a user