Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-08-27 00:10:02 +0400
committerJason Perkins <starkos@industriousone.com>2011-08-27 00:10:02 +0400
commitf4aad44cf4edb864192497fca55a6605cf6ed417 (patch)
tree6f5ae4a9e59fb1f44191602e5ef1773748fd6dc3 /src/host/premake.c
parent92eac7d2b80d020614a0aeca2cfc60d3a0683db1 (diff)
Added new function os.stat to fetch information about a file
Diffstat (limited to 'src/host/premake.c')
-rwxr-xr-xsrc/host/premake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/premake.c b/src/host/premake.c
index 7548ff4..025d8c7 100755
--- a/src/host/premake.c
+++ b/src/host/premake.c
@@ -49,6 +49,7 @@ static const luaL_Reg os_functions[] = {
{ "mkdir", os_mkdir },
{ "pathsearch", os_pathsearch },
{ "rmdir", os_rmdir },
+ { "stat", os_stat },
{ "uuid", os_uuid },
{ NULL, NULL }
};