diff options
-rw-r--r-- | LICENSE | 4 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | docs/examples.html | 8 | ||||
-rw-r--r-- | docs/index.html | 10 | ||||
-rw-r--r-- | docs/license.html | 12 | ||||
-rw-r--r-- | docs/manual.html | 8 | ||||
-rw-r--r-- | luafilesystem-scm-1.rockspec | 2 | ||||
-rw-r--r-- | src/lfs.c | 23 | ||||
-rw-r--r-- | src/lfs.h | 7 |
9 files changed, 35 insertions, 47 deletions
@@ -1,5 +1,5 @@ | |||
1 | Copyright © 2003-2014 Kepler Project. | 1 | Copyright © 2003-2010 Kepler Project. |
2 | Copyright © 2014-2022 The LuaFileSystem authors. | 2 | Copyright © 2010-2022 The LuaFileSystem authors. |
3 | 3 | ||
4 | Permission is hereby granted, free of charge, to any person | 4 | Permission is hereby granted, free of charge, to any person |
5 | obtaining a copy of this software and associated documentation | 5 | obtaining a copy of this software and associated documentation |
@@ -1,11 +1,11 @@ | |||
1 | [](LICENSE) | 1 | [](LICENSE) |
2 | [](https://github.com/keplerproject/luafilesystem/actions) | 2 | [](https://github.com/lunarmodules/luafilesystem/actions) |
3 | [](https://ci.appveyor.com/project/ignacio/luafilesystem) | 3 | [](https://ci.appveyor.com/project/ignacio/luafilesystem) |
4 | [](https://coveralls.io/r/keplerproject/luafilesystem) | 4 | [](https://coveralls.io/r/lunarmodules/luafilesystem) |
5 | 5 | ||
6 | # LuaFileSystem - File System Library for Lua | 6 | # LuaFileSystem - File System Library for Lua |
7 | 7 | ||
8 | https://keplerproject.github.io/luafilesystem | 8 | https://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 | ||
26 | Please check the at `docs/` for more information, also available at the [project website](https://keplerproject.github.io/luafilesystem). | 26 | Please 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. | |||
71 | The implementation is not derived from any other licensed software.</p> | 71 | The implementation is not derived from any other licensed software.</p> |
72 | 72 | ||
73 | <hr/> | 73 | <hr/> |
74 | <p>Copyright © 2003 - 2014 Kepler Project.</p> | 74 | <p>Copyright © 2003 - 2010 Kepler Project.</p> |
75 | <p>Copyright © 2014 - 2022 The LuaFileSystem authors.</p> | 75 | <p>Copyright © 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 |
78 | obtaining a copy of this software and associated documentation | 78 | obtaining 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 @@ | |||
1 | package = "luafilesystem" | 1 | package = "luafilesystem" |
2 | version = "scm-1" | 2 | version = "scm-1" |
3 | source = { | 3 | source = { |
4 | url = "git+https://github.com/keplerproject/luafilesystem" | 4 | url = "git+https://github.com/lunarmodules/luafilesystem" |
5 | } | 5 | } |
6 | description = { | 6 | description = { |
7 | summary = "File System Library for the Lua Programming Language", | 7 | summary = "File System Library for the Lua Programming Language", |
@@ -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 | */ |
1142 | static void set_info(lua_State * L) | 1129 | static 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 " |
@@ -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 */ |