aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE4
-rw-r--r--README.md8
-rw-r--r--docs/examples.html8
-rw-r--r--docs/index.html10
-rw-r--r--docs/license.html12
-rw-r--r--docs/manual.html8
-rw-r--r--luafilesystem-scm-1.rockspec2
-rw-r--r--src/lfs.c23
-rw-r--r--src/lfs.h7
9 files changed, 35 insertions, 47 deletions
diff --git a/LICENSE b/LICENSE
index 7fdfbf1..07ccdb1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,5 @@
1Copyright © 2003-2014 Kepler Project. 1Copyright © 2003-2010 Kepler Project.
2Copyright © 2014-2022 The LuaFileSystem authors. 2Copyright © 2010-2022 The LuaFileSystem authors.
3 3
4Permission is hereby granted, free of charge, to any person 4Permission is hereby granted, free of charge, to any person
5obtaining a copy of this software and associated documentation 5obtaining a copy of this software and associated documentation
diff --git a/README.md b/README.md
index c791909..7e008b8 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
1[![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE) 1[![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)
2[![Build Status](https://github.com/keplerproject/luafilesystem/actions/workflows/ci.yml/badge.svg)](https://github.com/keplerproject/luafilesystem/actions) 2[![Build Status](https://github.com/lunarmodules/luafilesystem/actions/workflows/ci.yml/badge.svg)](https://github.com/lunarmodules/luafilesystem/actions)
3[![Build status](https://ci.appveyor.com/api/projects/status/y04s4ms7u16trw8e?svg=true)](https://ci.appveyor.com/project/ignacio/luafilesystem) 3[![Build status](https://ci.appveyor.com/api/projects/status/y04s4ms7u16trw8e?svg=true)](https://ci.appveyor.com/project/ignacio/luafilesystem)
4[![Coverage Status](https://coveralls.io/repos/keplerproject/luafilesystem/badge.png)](https://coveralls.io/r/keplerproject/luafilesystem) 4[![Coverage Status](https://coveralls.io/repos/lunarmodules/luafilesystem/badge.png)](https://coveralls.io/r/lunarmodules/luafilesystem)
5 5
6# LuaFileSystem - File System Library for Lua 6# LuaFileSystem - File System Library for Lua
7 7
8https://keplerproject.github.io/luafilesystem 8https://lunarmodules.github.io/luafilesystem
9 9
10# Description 10# Description
11 11
@@ -23,4 +23,4 @@ luarocks install luafilesystem
23 23
24# Documentation 24# Documentation
25 25
26Please check the at `docs/` for more information, also available at the [project website](https://keplerproject.github.io/luafilesystem). 26Please check the at `docs/` for more information, also available at the [project website](https://lunarmodules.github.io/luafilesystem).
diff --git a/docs/examples.html b/docs/examples.html
index 68756c8..a41bd2a 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -13,7 +13,7 @@
13 13
14<div id="product"> 14<div id="product">
15 <div id="product_logo"> 15 <div id="product_logo">
16 <a href="http://keplerproject.github.io/luafilesystem"> 16 <a href="http://lunarmodules.github.io/luafilesystem">
17 <img alt="LuaFileSystem" src="luafilesystem.png"/> 17 <img alt="LuaFileSystem" src="luafilesystem.png"/>
18 </a> 18 </a>
19 </div> 19 </div>
@@ -44,10 +44,10 @@
44 </ul> 44 </ul>
45 </li> 45 </li>
46 <li><strong>Examples</strong></li> 46 <li><strong>Examples</strong></li>
47 <li><a href="https://github.com/keplerproject/luafilesystem">Project</a> 47 <li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
48 <ul> 48 <ul>
49 <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li> 49 <li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
50 <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li> 50 <li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
51 </ul> 51 </ul>
52 </li> 52 </li>
53 <li><a href="license.html">License</a></li> 53 <li><a href="license.html">License</a></li>
diff --git a/docs/index.html b/docs/index.html
index b4f056e..34e0730 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -13,7 +13,7 @@
13 13
14<div id="product"> 14<div id="product">
15 <div id="product_logo"> 15 <div id="product_logo">
16 <a href="http://keplerproject.github.io/luafilesystem"> 16 <a href="http://lunarmodules.github.io/luafilesystem">
17 <img alt="LuaFileSystem" src="luafilesystem.png"/> 17 <img alt="LuaFileSystem" src="luafilesystem.png"/>
18 </a> 18 </a>
19 </div> 19 </div>
@@ -44,10 +44,10 @@
44 </ul> 44 </ul>
45 </li> 45 </li>
46 <li><a href="examples.html">Examples</a></li> 46 <li><a href="examples.html">Examples</a></li>
47 <li><a href="https://github.com/keplerproject/luafilesystem">Project</a> 47 <li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
48 <ul> 48 <ul>
49 <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li> 49 <li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
50 <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li> 50 <li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
51 </ul> 51 </ul>
52 </li> 52 </li>
53 <li><a href="license.html">License</a></li> 53 <li><a href="license.html">License</a></li>
@@ -81,7 +81,7 @@ flavors of Unix (including Linux, BSDs, macOS) and Windows.</p>
81$ luarocks install luafilesystem 81$ luarocks install luafilesystem
82</pre> 82</pre>
83 83
84<p>Its source can be found at its <a href="http://github.com/keplerproject/luafilesystem">GitHub</a> page.</p> 84<p>Its source can be found at its <a href="http://github.com/lunarmodules/luafilesystem">GitHub</a> page.</p>
85 85
86<h2><a name="history"></a>History</h2> 86<h2><a name="history"></a>History</h2>
87 87
diff --git a/docs/license.html b/docs/license.html
index bb66e48..78704b4 100644
--- a/docs/license.html
+++ b/docs/license.html
@@ -13,7 +13,7 @@
13 13
14<div id="product"> 14<div id="product">
15 <div id="product_logo"> 15 <div id="product_logo">
16 <a href="http://keplerproject.github.io/luafilesystem"> 16 <a href="http://lunarmodules.github.io/luafilesystem">
17 <img alt="LuaFileSystem" src="luafilesystem.png"/> 17 <img alt="LuaFileSystem" src="luafilesystem.png"/>
18 </a> 18 </a>
19 </div> 19 </div>
@@ -44,10 +44,10 @@
44 </ul> 44 </ul>
45 </li> 45 </li>
46 <li><a href="examples.html">Examples</a></li> 46 <li><a href="examples.html">Examples</a></li>
47 <li><a href="https://github.com/keplerproject/luafilesystem">Project</a> 47 <li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
48 <ul> 48 <ul>
49 <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li> 49 <li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
50 <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li> 50 <li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
51 </ul> 51 </ul>
52 </li> 52 </li>
53 <li><strong>License</strong></li> 53 <li><strong>License</strong></li>
@@ -71,8 +71,8 @@ by many people -- see the Git history for detailed credits.
71The implementation is not derived from any other licensed software.</p> 71The implementation is not derived from any other licensed software.</p>
72 72
73<hr/> 73<hr/>
74<p>Copyright &copy; 2003 - 2014 Kepler Project.</p> 74<p>Copyright &copy; 2003 - 2010 Kepler Project.</p>
75<p>Copyright &copy; 2014 - 2022 The LuaFileSystem authors.</p> 75<p>Copyright &copy; 2010 - 2022 The LuaFileSystem authors.</p>
76 76
77<p>Permission is hereby granted, free of charge, to any person 77<p>Permission is hereby granted, free of charge, to any person
78obtaining a copy of this software and associated documentation 78obtaining a copy of this software and associated documentation
diff --git a/docs/manual.html b/docs/manual.html
index 1feb86a..0f84797 100644
--- a/docs/manual.html
+++ b/docs/manual.html
@@ -13,7 +13,7 @@
13 13
14<div id="product"> 14<div id="product">
15 <div id="product_logo"> 15 <div id="product_logo">
16 <a href="http://keplerproject.github.io/luafilesystem"> 16 <a href="http://lunarmodules.github.io/luafilesystem">
17 <img alt="LuaFileSystem" src="luafilesystem.png"/> 17 <img alt="LuaFileSystem" src="luafilesystem.png"/>
18 </a> 18 </a>
19 </div> 19 </div>
@@ -44,10 +44,10 @@
44 </ul> 44 </ul>
45 </li> 45 </li>
46 <li><a href="examples.html">Examples</a></li> 46 <li><a href="examples.html">Examples</a></li>
47 <li><a href="https://github.com/keplerproject/luafilesystem">Project</a> 47 <li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
48 <ul> 48 <ul>
49 <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li> 49 <li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
50 <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li> 50 <li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
51 </ul> 51 </ul>
52 </li> 52 </li>
53 <li><a href="license.html">License</a></li> 53 <li><a href="license.html">License</a></li>
diff --git a/luafilesystem-scm-1.rockspec b/luafilesystem-scm-1.rockspec
index 8a78605..19b6225 100644
--- a/luafilesystem-scm-1.rockspec
+++ b/luafilesystem-scm-1.rockspec
@@ -1,7 +1,7 @@
1package = "luafilesystem" 1package = "luafilesystem"
2version = "scm-1" 2version = "scm-1"
3source = { 3source = {
4 url = "git+https://github.com/keplerproject/luafilesystem" 4 url = "git+https://github.com/lunarmodules/luafilesystem"
5} 5}
6description = { 6description = {
7 summary = "File System Library for the Lua Programming Language", 7 summary = "File System Library for the Lua Programming Language",
diff --git a/src/lfs.c b/src/lfs.c
index fb5e825..e5e5ee4 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -1,23 +1,10 @@
1/* 1/*
2** LuaFileSystem 2** LuaFileSystem
3** Copyright Kepler Project 2003 - 2020 3** File system manipulation library
4** (http://keplerproject.github.io/luafilesystem)
5** 4**
6** File system manipulation library. 5** Copyright (C) 2003-2010 Kepler Project.
7** This library offers these functions: 6** Copyright (C) 2010-2022 The LuaFileSystem authors.
8** lfs.attributes (filepath [, attributename | attributetable]) 7** (http://lunarmodules.github.io/luafilesystem)
9** lfs.chdir (path)
10** lfs.currentdir ()
11** lfs.dir (path)
12** lfs.link (old, new[, symlink])
13** lfs.lock (fh, mode)
14** lfs.lock_dir (path)
15** lfs.mkdir (path)
16** lfs.rmdir (path)
17** lfs.setmode (filepath, mode)
18** lfs.symlinkattributes (filepath [, attributename])
19** lfs.touch (filepath [, atime [, mtime]])
20** lfs.unlock (fh)
21*/ 8*/
22 9
23#ifndef LFS_DO_NOT_USE_LARGE_FILE 10#ifndef LFS_DO_NOT_USE_LARGE_FILE
@@ -1141,8 +1128,6 @@ static int link_info(lua_State * L)
1141*/ 1128*/
1142static void set_info(lua_State * L) 1129static void set_info(lua_State * L)
1143{ 1130{
1144 lua_pushliteral(L, "Copyright (C) 2003-2017 Kepler Project");
1145 lua_setfield(L, -2, "_COPYRIGHT");
1146 lua_pushliteral(L, 1131 lua_pushliteral(L,
1147 "LuaFileSystem is a Lua library developed to complement " 1132 "LuaFileSystem is a Lua library developed to complement "
1148 "the set of functions related to file systems offered by " 1133 "the set of functions related to file systems offered by "
diff --git a/src/lfs.h b/src/lfs.h
index 13b60a9..116b892 100644
--- a/src/lfs.h
+++ b/src/lfs.h
@@ -1,7 +1,10 @@
1/* 1/*
2** LuaFileSystem 2** LuaFileSystem
3** Copyright Kepler Project 2003 - 2020 3** File system manipulation library
4** (http://keplerproject.github.io/luafilesystem) 4**
5** Copyright (C) 2003-2010 Kepler Project.
6** Copyright (C) 2010-2022 The LuaFileSystem authors.
7** (http://lunarmodules.github.io/luafilesystem)
5*/ 8*/
6 9
7/* Define 'chdir' for systems that do not implement it */ 10/* Define 'chdir' for systems that do not implement it */